Skip to content

Commit d8e22b7

Browse files
authored
AwaitsFix for #97183 (#97184)
1 parent 5a1b5ae commit d8e22b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/main/java/org/elasticsearch/index/shard/IndexShard.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -3627,7 +3627,8 @@ public int getActiveOperationsCount() {
36273627
* listener handles all exception cases internally.
36283628
*/
36293629
public final void syncAfterWrite(Translog.Location location, Consumer<Exception> syncListener) {
3630-
assert indexShardOperationPermits.getActiveOperationsCount() != 0;
3630+
// TODO AwaitsFix https://github.com/elastic/elasticsearch/issues/97183
3631+
// assert indexShardOperationPermits.getActiveOperationsCount() != 0;
36313632
verifyNotClosed();
36323633
getEngine().asyncEnsureTranslogSynced(location, syncListener);
36333634
}

0 commit comments

Comments
 (0)