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

only update SCADA metadata if status changes #18585

Merged
merged 2 commits into from
Jan 4, 2023

Conversation

ccapurso
Copy link
Contributor

@ccapurso ccapurso commented Jan 3, 2023

Vault nodes use SCADA session metadata to denote whether they are ACTIVE, STANDBY, or PERF-STANDBY. Providing this metadata is done by calling UpdateMeta on the SCADA provider. This is currently done every 5 seconds. A Vault node should only update its SCADA metadata if its status changes (i.e. leadership in the cluster has shifted).

@ccapurso ccapurso added this to the 1.13.0-rc1 milestone Jan 3, 2023
@divyaac
Copy link
Contributor

divyaac commented Jan 3, 2023

Looks good to me.

Copy link
Contributor

@hghaf099 hghaf099 left a comment

Choose a reason for hiding this comment

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

Looks good!

@ccapurso ccapurso merged commit 6d92f10 into main Jan 4, 2023
@ccapurso ccapurso deleted the vault-12485-update-meta-reduction branch January 4, 2023 16:09
AnPucel pushed a commit that referenced this pull request Jan 14, 2023
* only update SCADA metadata if status changes

* add changelog entry
AnPucel pushed a commit that referenced this pull request Feb 3, 2023
* only update SCADA metadata if status changes

* add changelog entry
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.

None yet

4 participants