183
connectedClustersLowWatermark := int64(math.MaxInt64)
184
for clusterName, ackLevel := range ackLevelByCluster {
185
>
if clusterName == r.clusterMetadata.GetCurrentClusterName() {
replicator.go
186
>
continue
187
}
189
>
highWatermark = ackLevel
190
>
}
191
>
if _, ok := connectedClusters[clusterName]; !ok {
192
>
continue
193
}
194
>
if ackLevel < connectedClustersLowWatermark {
replicator.go
195
>
connectedClustersLowWatermark = ackLevel
196
>
}
197
}
198
toDeleteMessageID := connectedClustersLowWatermark