Skip to content

Backport of [NET-4958] Fix issue where envoy endpoints would fail to populate after snapshot restore into release/1.16.x#18645

Merged
hc-github-team-consul-core merged 2 commits intorelease/1.16.xfrom
backport/derekm/NET-4958/missing-endpoints/totally-amazed-elephant
Sep 1, 2023
Merged

Backport of [NET-4958] Fix issue where envoy endpoints would fail to populate after snapshot restore into release/1.16.x#18645
hc-github-team-consul-core merged 2 commits intorelease/1.16.xfrom
backport/derekm/NET-4958/missing-endpoints/totally-amazed-elephant

Conversation

@hc-github-team-consul-core
Copy link
Collaborator

Backport

This PR is auto-generated from #18636 to be assessed for backporting due to the inclusion of the label backport/1.16.

The below text is copied from the body of the original PR.


Fixes an issue that was introduced in #17775. This issue happens because a long-lived pointer to the state store is held, which is unsafe to do. Snapshot restorations will swap out this state store, meaning that the server's proxycfg endpoint-health watches would break.

Any mesh services utilizing a consul-dataplane workflow would experience this problem, which is primarily consul-k8s deployments. This issue will typically result in Envoy proxies displaying zero upstream endpoints to contact.


Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/derekm/NET-4958/missing-endpoints/totally-amazed-elephant branch from f03c007 to 8656d4e Compare September 1, 2023 15:19
@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/derekm/NET-4958/missing-endpoints/totally-amazed-elephant branch from 39f3b02 to e792bf4 Compare September 1, 2023 15:19
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved Consul Bot automated PR

@hc-github-team-consul-core hc-github-team-consul-core merged commit c9ef66a into release/1.16.x Sep 1, 2023
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/derekm/NET-4958/missing-endpoints/totally-amazed-elephant branch September 1, 2023 15:42
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.

3 participants