open-vault/vault
Vishal Nayak 8891f2ba88 Raft retry join (#7856)
* Raft retry join

* update

* Make retry join work with shamir seal

* Return upon context completion

* Update vault/raft.go

Co-Authored-By: Brian Kassouf <briankassouf@users.noreply.github.com>

* Address some review comments

* send leader information slice as a parameter

* Make retry join work properly with Shamir case. This commit has a blocking issue

* Fix join goroutine exiting before the job is done

* Polishing changes

* Don't return after a successful join during unseal

* Added config parsing test

* Add test and fix bugs

* minor changes

* Address review comments

* Fix build error

Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
2020-01-13 17:02:16 -08:00
..
cluster
external_tests Raft retry join (#7856) 2020-01-13 17:02:16 -08:00
replication
seal Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
acl.go
acl_test.go
acl_util.go
audit.go
audit_broker.go
audit_test.go
audited_headers.go
audited_headers_test.go
auth.go Backport OSS changes from enterprise (#7864) 2019-11-12 09:17:37 -08:00
auth_test.go
barrier.go Shamir seals now come in two varieties: legacy and new-style. (#7694) 2019-10-18 14:46:00 -04:00
barrier_access.go
barrier_aes_gcm.go Shamir seals now come in two varieties: legacy and new-style. (#7694) 2019-10-18 14:46:00 -04:00
barrier_aes_gcm_test.go Shamir seals now come in two varieties: legacy and new-style. (#7694) 2019-10-18 14:46:00 -04:00
barrier_test.go Shamir seals now come in two varieties: legacy and new-style. (#7694) 2019-10-18 14:46:00 -04:00
barrier_view.go
barrier_view_test.go
barrier_view_util.go
capabilities.go
capabilities_test.go
cluster.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
cluster_test.go Fix test for Go 1.13 2019-11-18 23:10:37 -05:00
core.go Raft retry join (#7856) 2020-01-13 17:02:16 -08:00
core_test.go Introduce optional service_registration stanza (#7887) 2019-12-06 09:46:39 -05:00
core_util.go Port OSS changes from perf standby fix (#7818) 2019-11-06 14:36:47 -08:00
cors.go
counters.go
counters_test.go Fix token counters test (#7867) 2019-11-12 13:33:28 -05:00
dynamic_system_view.go Add identity templating helper to sdk/framework (#8088) 2020-01-06 10:16:52 -08:00
dynamic_system_view_test.go Add identity templating helper to sdk/framework (#8088) 2020-01-06 10:16:52 -08:00
expiration.go core: revoke the proper token on partial failures from token-related requests (#7835) 2019-11-08 13:14:03 -08:00
expiration_integ_test.go
expiration_test.go Don't allow registering a non-root zero TTL token lease (#7524) 2019-11-05 16:11:13 -05:00
expiration_util.go
generate_root.go Fix a regression introduced in #7698 that breaks root token generation. (#7727) 2019-10-24 10:23:31 -04:00
generate_root_recovery.go Run go fmt (#7823) 2019-11-07 08:54:34 -08:00
generate_root_test.go Shamir seals now come in two varieties: legacy and new-style. (#7694) 2019-10-18 14:46:00 -04:00
ha.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
identity_lookup.go
identity_lookup_test.go
identity_store.go Fix identity token panic during invalidation (#8015) 2019-12-17 10:43:38 -08:00
identity_store_aliases.go
identity_store_aliases_test.go
identity_store_entities.go Fix a nil map pointer in mergeEntity. (#7711) 2019-10-22 09:57:24 -04:00
identity_store_entities_test.go
identity_store_group_aliases.go
identity_store_group_aliases_test.go
identity_store_groups.go
identity_store_groups_test.go
identity_store_oidc.go Add identity templating helper to sdk/framework (#8088) 2020-01-06 10:16:52 -08:00
identity_store_oidc_test.go Fix identity token panic during invalidation (#8015) 2019-12-17 10:43:38 -08:00
identity_store_oidc_util.go
identity_store_schema.go
identity_store_structs.go
identity_store_test.go
identity_store_upgrade.go
identity_store_util.go
init.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
init_test.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
keyring.go
keyring_test.go
logical_cubbyhole.go
logical_cubbyhole_test.go
logical_passthrough.go
logical_passthrough_test.go
logical_raw.go Run go fmt (#7823) 2019-11-07 08:54:34 -08:00
logical_system.go Fix "does not exists" grammar (#7950) 2019-12-03 16:25:09 -06:00
logical_system_helpers.go
logical_system_integ_test.go plugin: fix panic on router.MatchingSystemView if backend is nil (#7991) 2019-12-10 10:48:30 -08:00
logical_system_paths.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
logical_system_pprof.go
logical_system_raft.go Raft retry join (#7856) 2020-01-13 17:02:16 -08:00
logical_system_test.go Run go fmt (#7823) 2019-11-07 08:54:34 -08:00
mount.go Backport OSS changes from enterprise (#7864) 2019-11-12 09:17:37 -08:00
mount_test.go Port some changes that got out of sync 2019-10-28 11:38:14 -04:00
mount_util.go Port filtered paths changes back to OSS (#7741) 2019-10-27 13:30:38 -07:00
namespaces.go
plugin_catalog.go
plugin_catalog_test.go
plugin_reload.go
policy.go Add identity templating helper to sdk/framework (#8088) 2020-01-06 10:16:52 -08:00
policy_store.go
policy_store_test.go core/policy & core/token: Remove Dead Test Code (#7774) 2019-11-04 10:36:07 +01:00
policy_store_util.go
policy_test.go
policy_util.go
raft.go Raft retry join (#7856) 2020-01-13 17:02:16 -08:00
rekey.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
rekey_test.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
request_forwarding.go Port OSS changes from perf standby fix (#7818) 2019-11-06 14:36:47 -08:00
request_forwarding_rpc.go Remove unnecessary locking during heartbeating (#7877) 2019-11-20 17:24:49 -08:00
request_forwarding_rpc_util.go
request_forwarding_service.pb.go
request_forwarding_service.proto
request_handling.go core: revoke the proper token on partial failures from token-related requests (#7835) 2019-11-08 13:14:03 -08:00
request_handling_test.go
request_handling_util.go
rollback.go
rollback_test.go
router.go plugin: fix panic on router.MatchingSystemView if backend is nil (#7991) 2019-12-10 10:48:30 -08:00
router_access.go
router_test.go
router_testing.go
seal.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
seal_access.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
seal_autoseal.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
seal_autoseal_test.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
seal_test.go Shamir seals now come in two varieties: legacy and new-style. (#7694) 2019-10-18 14:46:00 -04:00
seal_testing.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
seal_testing_util.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
sealunwrapper.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
sealunwrapper_test.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
testing.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
testing_util.go
token_store.go Fix panic when creating batch tokens for role that doesn't exist. (#8021) 2019-12-16 09:31:32 -05:00
token_store_test.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
token_store_util.go
ui.go
ui_test.go
util.go
util_test.go
wrapping.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
wrapping_util.go