Fixup ReplicationGroup unavailableInSyncShards
@@ -47,7 +47,7 @@ public class ReplicationGroup {
this.inSyncAllocationIds = inSyncAllocationIds;
this.trackedAllocationIds = trackedAllocationIds;
- this.unavailableInSyncShards = Sets.difference(inSyncAllocationIds, routingTable.getAllAllocationIds());
+ this.unavailableInSyncShards = Collections.EMPTY_SET; // Sets.difference(inSyncAllocationIds, routingTable.getAllAllocationIds());
this.replicationTargets = new ArrayList<>();
this.skippedShards = new ArrayList<>();
/*
