Skip to content

Expose snapshot_interval tunable #11160

Merged
ncabatoff merged 1 commit intomasterfrom
add-raft-snapshot-interval-config
Mar 19, 2021
Merged

Expose snapshot_interval tunable #11160
ncabatoff merged 1 commit intomasterfrom
add-raft-snapshot-interval-config

Conversation

@ncabatoff
Copy link
Collaborator

...instead of setting it in prod code for the sake of a test.

@ncabatoff ncabatoff requested a review from briankassouf March 19, 2021 19:23
@ncabatoff ncabatoff added this to the 1.7 milestone Mar 19, 2021
Copy link
Contributor

@briankassouf briankassouf left a comment

Choose a reason for hiding this comment

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

Want to add docs? You can mostly copy from consul: https://www.consul.io/docs/agent/options#_raft_snapshot_interval. I'm fine if this happens in a subsequent PR too.

@ncabatoff ncabatoff merged commit 8675d59 into master Mar 19, 2021
@ncabatoff ncabatoff deleted the add-raft-snapshot-interval-config branch March 19, 2021 19:41
ncabatoff added a commit that referenced this pull request Mar 19, 2021
tsaarni pushed a commit to Nordix/vault that referenced this pull request Jan 8, 2026
…rp#10762) (hashicorp#11160) (hashicorp#11348)

* sdk/rotation: Prevent rotation attempts on read-only storage

Rotation is a write operation that mutates both Vault's storage
and an external resource. Attempting this on a read-only node
(like in a performance secondary cluster) will fail.

This check preempts the rotation to prevent a split-brain scenario
where the external credential is changed but Vault's storage
cannot be updated.

* changelog

* fix failing test

Co-authored-by: John-Michael Faircloth <fairclothjm@users.noreply.github.com>
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.

2 participants