183
continue
184
}
186
}
187
streamKeys := make(map[ClusterShardKeyPair]struct{})
188
for _, shardID := range m.ShardController.ShardIDs() {
189
for clientClusterID := range clientClusterIDs {
191
>
for _, clientShardID := range common.MapShardID(
192
>
clusterIDToShardCount[serverClusterID],
193
>
clusterIDToShardCount[clientClusterID],
194
>
serverShardID,
195
>
) {
196
>
m.Logger.Debug(fmt.Sprintf(
197
>
"inbound cluster shard ID %v/%v -> cluster shard ID %v/%v",
198
>
clientClusterID, clientShardID, serverClusterID, serverShardID,
199
>
))
200
>
streamKeys[ClusterShardKeyPair{
201
>
Client: NewClusterShardKey(clientClusterID, clientShardID),
202
>
Server: NewClusterShardKey(serverClusterID, serverShardID),
203
>
}] = struct{}{}
204
>
}
205
}
206
}