open-vault/vault
Jeff Mitchell 3b93a18ef2
Consolidate locking for sys/health (#9876)
* Consolidate locking for sys/health

This avoids a second state lock read-lock on every sys/health hit

* Address review feedback

Co-authored-by: Vishal Nayak <vishalnayakv@gmail.com>
Co-authored-by: Vishal Nayak <vishalnayak@users.noreply.github.com>
2020-10-26 16:47:54 -04:00
..
activity Port changes from enterprise lease fix (#10020) 2020-09-22 14:47:13 -07:00
cluster Port changes from enterprise lease fix (#10020) 2020-09-22 14:47:13 -07:00
external_tests Same seal migration oss (#10224) 2020-10-23 14:16:04 -04:00
quotas Merge PR #10010: Rate Limit Quotas: Allow Exempt Paths to be Configurable 2020-10-16 14:58:19 -04:00
replication
seal Same seal migration oss (#10224) 2020-10-23 14:16:04 -04:00
acl.go
acl_test.go
acl_util.go
activity_log.go Merge activity log work to date on enterprise back into oss. (#9900) 2020-09-08 14:22:09 -05:00
activity_log_test.go Merge activity log work to date on enterprise back into oss. (#9900) 2020-09-08 14:22:09 -05:00
audit.go Fix panic in handleAuditNonLogical if vault is sealed (#9310) (#10103) 2020-10-07 08:30:36 -04:00
audit_broker.go
audit_test.go
audited_headers.go
audited_headers_test.go
auth.go Add nil check for quota manager (#9379) 2020-07-01 18:14:33 -07:00
auth_test.go
barrier.go Test for overflow of the capacity value (#9317) 2020-06-25 11:22:13 -05:00
barrier_access.go
barrier_aes_gcm.go Test for overflow of the capacity value (#9317) 2020-06-25 11:22:13 -05:00
barrier_aes_gcm_test.go
barrier_test.go
barrier_view.go
barrier_view_test.go
barrier_view_util.go
capabilities.go
capabilities_test.go
cluster.go Eliminate global that caused race tests to fail in ent with an internal config setting. (#9604) 2020-07-27 16:10:26 -04:00
cluster_test.go Fix flaky TestCluster_ForwardRequest tests. (#9973) 2020-09-16 15:31:06 -04:00
core.go Same seal migration oss (#10224) 2020-10-23 14:16:04 -04:00
core_metrics.go Backport leader status telemetry [VAULT-672] (#10147) 2020-10-15 14:15:58 -07:00
core_metrics_test.go Fix crash when KV store has a zero-length key. (#9881) 2020-09-02 17:43:44 -05:00
core_test.go Make manualStepDownCh a 1-buffered channel to ensure StepDown actually steps down in tests. (#9622) 2020-07-31 10:01:51 -04:00
core_util.go Add telemetry for LRU cache (#10079) 2020-10-13 10:11:54 -05:00
cors.go
counters.go
counters_test.go
deadlock.go Add option to detect deadlocks in Core.stateLock using build tag deadlock (#8524) 2020-03-10 16:01:20 -04:00
dynamic_system_view.go Move sdk/helper/random -> helper/random (#9226) 2020-06-17 14:24:38 -06:00
dynamic_system_view_test.go Add user configurable password policies available to secret engines (#8637) 2020-05-27 12:28:00 -06:00
expiration.go Expiration: Fix lease counting logic (#10106) 2020-10-07 17:27:45 -07:00
expiration_integ_test.go
expiration_test.go Update lease timer logic (#10030) 2020-09-23 11:46:22 -07:00
expiration_util.go
generate_root.go Same seal migration oss (#10224) 2020-10-23 14:16:04 -04:00
generate_root_recovery.go Same seal migration oss (#10224) 2020-10-23 14:16:04 -04:00
generate_root_test.go
ha.go Consolidate locking for sys/health (#9876) 2020-10-26 16:47:54 -04:00
identity_lookup.go
identity_lookup_test.go
identity_store.go Revert "Migrate internalshared out (#9727)" (#10141) 2020-10-13 16:38:21 -07:00
identity_store_aliases.go
identity_store_aliases_test.go
identity_store_entities.go VAULT-417: check expired context in entity API (#1445) (#9925) 2020-09-10 16:31:32 -06:00
identity_store_entities_test.go VAULT-417: check expired context in entity API (#1445) (#9925) 2020-09-10 16:31:32 -06:00
identity_store_group_aliases.go
identity_store_group_aliases_test.go
identity_store_groups.go
identity_store_groups_test.go
identity_store_oidc.go Fix identity token caching (#8412) 2020-02-26 15:56:19 -05:00
identity_store_oidc_test.go Run CI tests in docker instead of a machine. (#8948) 2020-09-15 10:01:26 -04:00
identity_store_oidc_util.go Fix identity token caching (#8412) 2020-02-26 15:56:19 -05:00
identity_store_schema.go
identity_store_structs.go
identity_store_test.go Fix a race caused by assignment to core.metricSink (#9560) 2020-07-22 13:52:10 -04:00
identity_store_upgrade.go
identity_store_util.go Entity and alias counts (#9262) 2020-06-23 19:45:59 -05:00
init.go Same seal migration oss (#10224) 2020-10-23 14:16:04 -04: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
lock.go Add option to detect deadlocks in Core.stateLock using build tag deadlock (#8524) 2020-03-10 16:01:20 -04:00
logical_cubbyhole.go Reject requests read and write requests to cubbyhole with an empty path (#8971) 2020-05-11 14:15:36 -05:00
logical_cubbyhole_test.go
logical_passthrough.go
logical_passthrough_test.go
logical_raw.go
logical_system.go OSS changes for enterprise automated snapshots (#10160) 2020-10-16 14:57:11 -04:00
logical_system_helpers.go Merge PR #10059: Port OSS changes from #1497 2020-10-01 15:15:20 -04:00
logical_system_integ_test.go Fix wrong err return value in plugin reload status command (#9348) 2020-06-30 13:33:30 -05:00
logical_system_paths.go Global Plugin Reload: OSS Changes Take II (#9347) 2020-06-30 10:26:52 -05:00
logical_system_pprof.go
logical_system_quotas.go Merge PR #10010: Rate Limit Quotas: Allow Exempt Paths to be Configurable 2020-10-16 14:58:19 -04:00
logical_system_raft.go OSS changes for enterprise automated snapshots (#10160) 2020-10-16 14:57:11 -04:00
logical_system_test.go OSS changes for enterprise automated snapshots (#10160) 2020-10-16 14:57:11 -04:00
mount.go Add omitempty's to MountEntry and MountConfig (#7154) 2020-10-26 15:34:55 -04:00
mount_test.go
mount_util.go
namespaces.go
plugin_catalog.go DBPW - Copy newdbplugin package to dbplugin/v5 (#10151) 2020-10-15 13:20:12 -06:00
plugin_catalog_test.go
plugin_reload.go Fix wrong err return value in plugin reload status command (#9348) 2020-06-30 13:33:30 -05:00
policy.go
policy_store.go
policy_store_test.go
policy_store_util.go
policy_test.go
policy_util.go
raft.go Merge PR #10192: Auto-Join: Configurable Scheme & Port (and add k8s provider) 2020-10-23 16:13:09 -04:00
rekey.go Fix panic in RekeyVerifyRestart (#9930) (#10099) 2020-10-07 11:06:17 -07: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 Eliminate global that caused race tests to fail in ent with an internal config setting. (#9604) 2020-07-27 16:10:26 -04:00
request_forwarding_rpc.go Revert global plugin reload commits (#9344) 2020-06-29 17:36:22 -05:00
request_forwarding_rpc_util.go
request_forwarding_service.pb.go Port changes from enterprise lease fix (#10020) 2020-09-22 14:47:13 -07:00
request_forwarding_service.proto Backport the pieces of the replication API changes (#9425) 2020-07-09 15:11:37 -07:00
request_handling.go auth: store period value on tokens created via login (#7885) 2020-10-26 16:25:56 -04:00
request_handling_test.go auth: store period value on tokens created via login (#7885) 2020-10-26 16:25:56 -04:00
request_handling_util.go
rollback.go
rollback_test.go
router.go Resource Quotas: Rate Limiting (#9330) 2020-06-26 17:13:16 -04:00
router_access.go
router_test.go
router_testing.go
seal.go Same seal migration oss (#10224) 2020-10-23 14:16:04 -04: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 Ensure that perf standbys can perform seal migrations. (#9690) 2020-08-10 08:35:57 -04: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
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 Create configutil and move some common config and setup functions there (#8362) 2020-05-14 09:19:27 -04: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 Same seal migration oss (#10224) 2020-10-23 14:16:04 -04:00
testing_util.go Port changes from enterprise lease fix (#10020) 2020-09-22 14:47:13 -07:00
token_store.go Revert "Migrate internalshared out (#9727)" (#10141) 2020-10-13 16:38:21 -07:00
token_store_test.go auth: store period value on tokens created via login (#7885) 2020-10-26 16:25:56 -04:00
token_store_util.go
ui.go
ui_test.go
util.go
util_test.go
wrapping.go Revert "Migrate internalshared out (#9727)" (#10141) 2020-10-13 16:38:21 -07:00
wrapping_util.go