Skip to content

Commit ad32e9b

Browse files
authored
Merge pull request #374 from arangodb/bug-fix/sync-status-only-cluster
Only check shard sync status for cluster deployments.
2 parents 0c707c5 + 147a0d6 commit ad32e9b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/deployment/resources/deployment_health.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ dbloop:
178178

179179
// GetShardSyncStatus returns true if all shards are in sync
180180
func (r *Resources) GetShardSyncStatus() bool {
181+
if r.context.GetSpec().GetMode() != api.DeploymentModeCluster {
182+
// Shard sync status is only applicable for clusters
183+
return true
184+
}
181185
r.shardSync.mutex.Lock()
182186
defer r.shardSync.mutex.Unlock()
183187
return r.shardSync.allInSync

0 commit comments

Comments
 (0)