We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 455bc44 commit 147a0d6Copy full SHA for 147a0d6
pkg/deployment/resources/deployment_health.go
@@ -178,11 +178,11 @@ dbloop:
178
179
// GetShardSyncStatus returns true if all shards are in sync
180
func (r *Resources) GetShardSyncStatus() bool {
181
- r.shardSync.mutex.Lock()
182
- defer r.shardSync.mutex.Unlock()
183
if r.context.GetSpec().GetMode() != api.DeploymentModeCluster {
184
// Shard sync status is only applicable for clusters
185
return true
186
}
+ r.shardSync.mutex.Lock()
+ defer r.shardSync.mutex.Unlock()
187
return r.shardSync.allInSync
188
0 commit comments