Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Brooks committed May 1, 2023
1 parent 4a080b8 commit f98c4d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2303,7 +2303,7 @@ public IndexCommitRef acquireLastIndexCommit(final boolean flushFirst) throws En
logger.trace("start flush for snapshot");
// TODO: Split acquireLastIndexCommit into two apis one with blocking flushes one without
PlainActionFuture<FlushResult> future = PlainActionFuture.newFuture();
flush(false, true);
flush(false, true, future);
future.actionGet();
logger.trace("finish flush for snapshot");
}
Expand Down

0 comments on commit f98c4d5

Please sign in to comment.