Skip to content

Commit

Permalink
AwaitsFix for elastic#97183
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveCTurner committed Jun 28, 2023
1 parent dc856ac commit f8bb4fb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3627,7 +3627,8 @@ public int getActiveOperationsCount() {
* listener handles all exception cases internally.
*/
public final void syncAfterWrite(Translog.Location location, Consumer<Exception> syncListener) {
assert indexShardOperationPermits.getActiveOperationsCount() != 0;
// TODO AwaitsFix https://github.com/elastic/elasticsearch/issues/97183
// assert indexShardOperationPermits.getActiveOperationsCount() != 0;
verifyNotClosed();
getEngine().asyncEnsureTranslogSynced(location, syncListener);
}
Expand Down

0 comments on commit f8bb4fb

Please sign in to comment.