Skip to content

Conversation

@samfrown
Copy link

Description

This avoids calling GetOtherDatacentersByDistance through queryFailover() method that could be expensive.

Testing & Reproduction steps

Links

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.

  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.

  • If applicable, I've documented the impact of any changes to security controls.

    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

to avoid unnecessary expensive call to GetOtherDatacentersByDistance
@samfrown samfrown requested review from a team as code owners October 29, 2025 16:17
@hashicorp-cla-app
Copy link

hashicorp-cla-app bot commented Oct 29, 2025

CLA assistant check
All committers have signed the CLA.

@samfrown
Copy link
Author

This is my first PR to Consul repo. Please advise me to put any additional information if needed. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant