Skip to content

Commit 1b57504

Browse files
committed
Fix IT failures
Signed-off-by: Ashish Singh <ssashish@amazon.com>
1 parent 46903d5 commit 1b57504

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/main/java/org/opensearch/index/shard/ReplicationGroup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public ReplicationGroup(
6868
boolean remoteTranslogEnabled
6969
) {
7070
if (!remoteTranslogEnabled) {
71-
assert trackedAllocationIds.equals(localTranslogAllocationIds)
71+
assert localTranslogAllocationIds.containsAll(trackedAllocationIds)
7272
: "In absence of remote translog store, all tracked shards must have local translog store";
7373
}
7474
this.routingTable = routingTable;

0 commit comments

Comments
 (0)