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.
Due to the search base that is getting bigger everyday, we need a way to guide people to different load balancers.
This patch is doing exactly that
Comment | File | Size | Author |
---|---|---|---|
#15 | 1716944-15.patch | 1.73 KB | pwolanin |
#14 | 1716944-14.patch | 1.73 KB | pwolanin |
#9 | 1716944-9.patch | 1.87 KB | pwolanin |
#8 | 1716944-8.patch | 1.53 KB | pwolanin |
#5 | 1716944-5.patch | 2.74 KB | Nick_vh |
Comments
Comment #1
Nick_vhComment #2
pwolanin CreditAttribution: pwolanin commentedmaybe should have a different variable name:
this is now the path not the URL?
Also - is this going to dynamically check that the server is right if the heartbeat data changes? It's not clear from the context in the patch.
Comment #3
Nick_vhClarified the use of the variables and added an update function.
This does dynamically check and update the info on every heartbeat
Comment #4
Nick_vhforgot to remove the correct variable.
Comment #5
Nick_vhFixing the newline error
Comment #6
Nick_vhCommitted.
Backport issue here :
#1720712: Allow Acquia Search to insert alternative url
Comment #7
pwolanin CreditAttribution: pwolanin commentedI think the code here could be a little better - and also prepare us for better hosting integration.
Comment #8
pwolanin CreditAttribution: pwolanin commentedThis will let us also use the $conf['acquia_search_host'] currently populated in Acquia Cloud servers.
Comment #9
pwolanin CreditAttribution: pwolanin commentedok, that didn't quite work as intended now, since the host in the RPC overwrites the 'internal.' host name.
Here's a patch that seems to be working for DevCloud.
Comment #10
pwolanin CreditAttribution: pwolanin commentedcommitted - needs to be ported.
Comment #11
pwolanin CreditAttribution: pwolanin commentedcommitted some extra code comments too per Nick.
Comment #13
pwolanin CreditAttribution: pwolanin commentedGiven the certificate issues, we may want to use 'internal-' rather than 'internal.'
Note that with our current setup, we won't have peer certs for all possible host names - should we always fall back to search.acquia.com and assume the same CA will be used for all?
Comment #14
pwolanin CreditAttribution: pwolanin commentedleaving as "needs work" so we can consider the cert question
Comment #15
pwolanin CreditAttribution: pwolanin commentedSince this is checked infrequently, maybe we should match both . and - for the legacy check?
Comment #16
pwolanin CreditAttribution: pwolanin commentedComment #17
cpliakas CreditAttribution: cpliakas commentedYes, I think that is a sane approach. Would love to see some tests for this functionality as well. I am happy to volunteer writing them after the fact so that this code doesn't hold up a release.
Comment #18
pwolanin CreditAttribution: pwolanin commentedcommitted. Follow-up for 6.x at: #1791684: Follow up to Allow Acquia Search to insert alternative url