Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multiple issues related to proxycfg health queries. #17241

Merged
merged 3 commits into from
May 9, 2023

Conversation

hashi-derek
Copy link
Member

@hashi-derek hashi-derek commented May 8, 2023

  1. The datacenter was not being provided to a proxycfg query, which resulted in bypassing agentless query optimizations and using the normal API instead.

  2. The health rpc endpoint would return a zero index when insufficient ACLs were detected. This would result in the agent cache performing an infinite loop of queries in rapid succession without backoff.

A follow-up PR was created shortly after to fix a bug caused by this change: #17278

1. The datacenter was not being provided to a proxycfg query, which resulted in
bypassing agentless query optimizations and using the normal API instead.

2. The health rpc endpoint would return a zero index when insufficient ACLs were
detected. This would result in the agent cache performing an infinite loop of
queries in rapid succession without backoff.
@hashi-derek hashi-derek force-pushed the derekm/NET-3881/health-call-loop branch from 3301b8c to ff4ba95 Compare May 8, 2023 17:42
@hashi-derek hashi-derek added backport/1.13 backport/1.15 This release series is no longer active on CE. Use backport/ent/1.15. labels May 8, 2023
@hashi-derek hashi-derek marked this pull request as ready for review May 8, 2023 18:41
@hashi-derek hashi-derek merged commit 4f6da20 into main May 9, 2023
109 checks passed
@hashi-derek hashi-derek deleted the derekm/NET-3881/health-call-loop branch May 9, 2023 17:37
hashi-derek added a commit that referenced this pull request May 9, 2023
Fix multiple issues related to proxycfg health queries.

1. The datacenter was not being provided to a proxycfg query, which resulted in
bypassing agentless query optimizations and using the normal API instead.

2. The health rpc endpoint would return a zero index when insufficient ACLs were
detected. This would result in the agent cache performing an infinite loop of
queries in rapid succession without backoff.
hashi-derek added a commit that referenced this pull request May 9, 2023
Fix multiple issues related to proxycfg health queries.

1. The datacenter was not being provided to a proxycfg query, which resulted in
bypassing agentless query optimizations and using the normal API instead.

2. The health rpc endpoint would return a zero index when insufficient ACLs were
detected. This would result in the agent cache performing an infinite loop of
queries in rapid succession without backoff.
hashi-derek added a commit that referenced this pull request May 9, 2023
)

Fix multiple issues related to proxycfg health queries.

1. The datacenter was not being provided to a proxycfg query, which resulted in
bypassing agentless query optimizations and using the normal API instead.

2. The health rpc endpoint would return a zero index when insufficient ACLs were
detected. This would result in the agent cache performing an infinite loop of
queries in rapid succession without backoff.
hashi-derek added a commit that referenced this pull request May 9, 2023
All tests passed in OSS, but not ENT. This is a patch to resolve
the problem for both.
hashi-derek added a commit that referenced this pull request May 9, 2023
All tests passed in OSS, but not ENT. This is a patch to resolve
the problem for both.
hashi-derek added a commit that referenced this pull request May 9, 2023
Fix ent bug caused by #17241

All tests passed in OSS, but not ENT. This is a patch to resolve
the problem for both.
hashi-derek added a commit that referenced this pull request May 9, 2023
Fix ent bug caused by #17241

All tests passed in OSS, but not ENT. This is a patch to resolve
the problem for both.
hashi-derek added a commit that referenced this pull request May 10, 2023
Fix ent bug caused by #17241

All tests passed in OSS, but not ENT. This is a patch to resolve
the problem for both.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.15 This release series is no longer active on CE. Use backport/ent/1.15.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants