Use the same lock for the scanner and site replication healing (#15985)

This commit is contained in:
Anis Elleuch
2022-11-08 17:55:55 +01:00
committed by GitHub
parent 52769e1e71
commit 3b1a9b9fdf
5 changed files with 97 additions and 34 deletions
+3
View File
@@ -291,6 +291,9 @@ var (
// GlobalKMS initialized KMS configuration
GlobalKMS kms.KMS
// Common lock for various subsystems performing the leader tasks
globalLeaderLock *sharedLock
// Auto-Encryption, if enabled, turns any non-SSE-C request
// into an SSE-S3 request. If enabled a valid, non-empty KMS
// configuration must be present.