857
clusterMetadata := svc.ClusterMetadata
858
if currentClusterDBRecord.IsGlobalNamespaceEnabled && !clusterMetadata.EnableGlobalNamespace {
860
>
mismatchLogMessage,
861
>
tag.Key("clusterMetadata.EnableGlobalNamespace"),
862
>
tag.IgnoredValue(clusterMetadata.EnableGlobalNamespace),
863
>
tag.Value(currentClusterDBRecord.IsGlobalNamespaceEnabled))
864
>
svc.ClusterMetadata.EnableGlobalNamespace = currentClusterDBRecord.IsGlobalNamespaceEnabled
865
>
}
866
persistedShardCount := currentClusterDBRecord.HistoryShardCount
867
if svc.Persistence.NumHistoryShards != persistedShardCount {
869
>
mismatchLogMessage,
870
>
tag.Key("persistence.numHistoryShards"),
871
>
tag.IgnoredValue(svc.Persistence.NumHistoryShards),
872
>
tag.Value(persistedShardCount))
873
>
svc.Persistence.NumHistoryShards = persistedShardCount
874
>
}
875
if currentClusterDBRecord.FailoverVersionIncrement != clusterMetadata.FailoverVersionIncrement {
877
>
mismatchLogMessage,
878
>
tag.Key("clusterMetadata.FailoverVersionIncrement"),
879
>
tag.IgnoredValue(clusterMetadata.FailoverVersionIncrement),
880
>
tag.Value(currentClusterDBRecord.FailoverVersionIncrement))
881
>
svc.ClusterMetadata.FailoverVersionIncrement = currentClusterDBRecord.FailoverVersionIncrement
882
>
}
883
}
884