The SOLR core on ODE environments is always prod

Created on 5 July 2023, over 1 year ago

Problem/Motivation

We have the problem that all ODE environments are pointing to the prod SOLR core besides each ode environment has its own core, database and code.

We need to point to the proper core instead the prod one.

This seems related to the commit
https://git.drupalcode.org/project/acquia_connector/-/commit/271edc8c60b...

Where the settings are set.

    // Cloud IDE environments do not have network information injected.
    if (preg_match('/^(ide|ode\d*)$/', getenv('AH_SITE_ENVIRONMENT') ?: '') !== 0) {
      return;
    }

If I execute the core from the event that set the core based on the Acquia Hosting https://git.drupalcode.org/project/acquia_search/-/blob/3.1.x/src/EventS...,

I get that the core provider for the subscription is core_state and it should be acquia_cloud, because if it is not acquia_cloud it gets the default core, the prod one.

🐛 Bug report
Status

Closed: works as designed

Version

4.0

Component

Code

Created by

🇪🇸Spain eduardo morales alberti Spain, 🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024