Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Sometimes, acquia_agent_check_subscription() gets called with a "no_heartbeat" option which returns different subscription data, but when we cache the subscription information with variable_set(), we don't care about this argument.
This specifically sometimes breaks Acquia Search configuration, because it can't determine the Solr indexes' Hostname to use, and falls back to using "search.acquia.com" which might be the wrong domain.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2826384-5-acquia_search_multi_subs.patch | 990 bytes | dmitrii |
#2 | 2826384-context-sensitive-acquia_subscription_data-7.x-2.x.patch | 703 bytes | janusman |
Comments
Comment #2
janusman CreditAttribution: janusman at Acquia commentedPatch for review. Haven't tested yet though!
Comment #3
janusman CreditAttribution: janusman at Acquia commentedComment #4
janusman CreditAttribution: janusman at Acquia commentedKind of a problem, so raising to Major.
Comment #5
dmitrii CreditAttribution: dmitrii as a volunteer and at Acquia commentedIt looks like you're using the acquia_search_multi_subs module and issue is related to the acquia_search_multi_subs module and was introduced by me in
http://cgit.drupalcode.org/acquia_search_multi_subs/commit/?id=9b71c72
Attached patch should fix the issue.
Let me know if it helps.
Comment #6
dmitrii CreditAttribution: dmitrii as a volunteer and at Acquia commentedComment #7
janusman CreditAttribution: janusman at Acquia commentedThanks for that patch! I will put it onto acquia_search_multi_subs ....
However, it still feels wrong that acquia_agent_check_subscription() is caching a result of something that has an argument, while disregarding that argument. Can I get a second look at that? :)
Comment #8
dmitrii CreditAttribution: dmitrii at Acquia commentedYeah, now I see. We should include this patch. Probably it's necessary to add some logic to avoid situation when the module might be without configuration.
I'll discuss this with the team.
Comment #9
Dane Powell CreditAttribution: Dane Powell at Acquia commentedThis branch of Acquia Connector is no longer supported, per the version policy on the project homepage. As such, I'm tentatively closing this issue.
If this issue still applies to a supported branch (currently 7.x-3.x, 8.x-1.x, or 8.x-2.x), please reopen and select the new target version. Thanks!