Skip to content

raft: allow retry join block within ha_storage stanza #9254

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

Draft
wants to merge 45 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
a01d02d
raft: initial work on raft ha storage support
calvn May 26, 2020
1c0d821
add note on join
calvn May 27, 2020
a4fce98
add todo note
calvn May 29, 2020
17edc2c
raft: add support for bootstrapping and joining existing nodes
calvn Jun 3, 2020
5cf1915
raft: gate bootstrap join by reading leader api address from storage
calvn Jun 3, 2020
d2e9857
raft: properly check for raft-only for certain conditionals
calvn Jun 4, 2020
29a27e5
Merge remote-tracking branch 'origin/master' into feature-raft-ha-sto…
calvn Jun 4, 2020
cb3c8e0
raft: add bootstrap to api and cli
calvn Jun 5, 2020
c80d6ad
raft: fix bootstrap cli command
calvn Jun 5, 2020
83beaf4
raft: add test for setting up new cluster with raft HA
calvn Jun 8, 2020
187af61
raft: extend TestRaft_HA_NewCluster to include inmem and consul backends
calvn Jun 8, 2020
6a2fb4b
raft: add test for updating an existing cluster to use raft HA
calvn Jun 10, 2020
155e67f
raft: remove debug log lines, clean up verifyRaftPeers
calvn Jun 10, 2020
19622c3
Merge remote-tracking branch 'origin/master' into feature-raft-ha-sto…
calvn Jun 10, 2020
317ce9d
raft: minor cleanup
calvn Jun 11, 2020
dcd97ed
raft: minor cleanup
calvn Jun 13, 2020
282e53c
Update physical/raft/raft.go
calvn Jun 13, 2020
be61b48
Update vault/ha.go
calvn Jun 13, 2020
568d9fc
Update vault/ha.go
calvn Jun 13, 2020
8bb5d20
Update vault/logical_system_raft.go
calvn Jun 13, 2020
fe55165
Update vault/raft.go
calvn Jun 13, 2020
415ae01
Update vault/raft.go
calvn Jun 13, 2020
b30369d
address feedback comments
calvn Jun 15, 2020
c2ad602
address feedback comments
calvn Jun 15, 2020
023ee75
raft: refactor tls keyring logic
calvn Jun 15, 2020
a444f8a
address feedback comments
calvn Jun 16, 2020
29325fe
Update vault/raft.go
calvn Jun 16, 2020
f2ce361
Update vault/raft.go
calvn Jun 16, 2020
ca3d360
address feedback comments
calvn Jun 16, 2020
4854a10
testing: fix import ordering
calvn Jun 16, 2020
ccbfa23
Merge branch 'feature-raft-ha-storage' of github.com:hashicorp/vault …
calvn Jun 16, 2020
e1112e7
raft: rename var, cleanup comment line
calvn Jun 16, 2020
f050a67
Merge remote-tracking branch 'origin/master' into feature-raft-ha-sto…
calvn Jun 17, 2020
22d390b
docs: remove ha_storage restriction note on raft
calvn Jun 17, 2020
2839c5f
docs: more raft HA interaction updates with migration and recovery mode
calvn Jun 17, 2020
23606e9
docs: update the raft join command
calvn Jun 17, 2020
beb706e
raft: update comments
calvn Jun 18, 2020
0f20555
raft: add missing isRaftHAOnly check for clearing out state set earlier
calvn Jun 18, 2020
de8c08e
raft: allow retry join block within ha_storage stanza
calvn Jun 18, 2020
47d72e5
raft: update a few ha_storage config checks
calvn Jun 18, 2020
5c0e909
Update command/operator_raft_bootstrap.go
calvn Jun 18, 2020
26321a8
raft: address feedback comments
calvn Jun 18, 2020
41618b9
raft: fix panic when checking for config.HAStorage.Type
calvn Jun 19, 2020
7749cc9
Merge remote-tracking branch 'origin/feature-raft-ha-storage' into ra…
calvn Jun 19, 2020
bf835b7
raft: fix ha_storage parsing for retry_join block
calvn Jun 19, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update vault/ha.go
Co-authored-by: Brian Kassouf <[email protected]>
  • Loading branch information
calvn and briankassouf authored Jun 13, 2020
commit be61b48872f71d3ac54937961e4396e47fa4c77d
1 change: 0 additions & 1 deletion vault/ha.go
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,6 @@ func (c *Core) periodicCheckKeyUpgrades(ctx context.Context, stopCh chan struct{
hasState, err := raftBackend.HasState()
if err != nil {
c.logger.Error("could not check raft state", "error", err)
return
}

if raftBackend.Initialized() && hasState {
Expand Down