In this change: http://drupalcode.org/project/search_api_acquia.git/blobdiff/3ef80e5cb5f...

$search_host went from having $subscription['heartbeat_data']['search_service_colony'] take priority when set

   $search_host = variable_get('acquia_search_host', 'search.acquia.com');
   if (!empty($subscription['heartbeat_data']['search_service_colony'])) {
     $search_host = $subscription['heartbeat_data']['search_service_colony'];
   }

To having it only take priority if the variable acquia_search_host is empty.

   $search_override_host = variable_get('acquia_search_host', '');
   if (!empty($subscription['heartbeat_data']['search_service_colony']) && empty($search_override_host)) {
     $search_host = $subscription['heartbeat_data']['search_service_colony'];
   }
   else {
     // Get our override if we have one. Otherwise use the default.
     $search_host = variable_get('acquia_search_host', 'search.acquia.com');
   }

I believe this is incorrect, at least for our subscription it is always returning search.acquia.com which results in a 404 when indexing. When reverting to the beta3 version a different host is returned and indexing works correctly.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tekante’s picture

Patch for restoring previous precedence order

kostajh’s picture

@tekante thanks! This patch worked for me.

cpliakas’s picture

Status: Active » Needs review

Awesome. Will test this out right now.

Thanks for the contribution!

Nick_vh’s picture

Status: Needs review » Fixed

Logical and works as expected. Committing and giving you credit where credit is due :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.