We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46903d5 commit 1b57504Copy full SHA for 1b57504
1 file changed
server/src/main/java/org/opensearch/index/shard/ReplicationGroup.java
@@ -68,7 +68,7 @@ public ReplicationGroup(
68
boolean remoteTranslogEnabled
69
) {
70
if (!remoteTranslogEnabled) {
71
- assert trackedAllocationIds.equals(localTranslogAllocationIds)
+ assert localTranslogAllocationIds.containsAll(trackedAllocationIds)
72
: "In absence of remote translog store, all tracked shards must have local translog store";
73
}
74
this.routingTable = routingTable;
0 commit comments