Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fcofdez committed Nov 24, 2023
1 parent ba218d1 commit a627d49
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,7 @@ public boolean flush(FlushRequest request) {
* Executes the given flush request against the engine.
*
* @param request the flush request
* @param listener to notify after fully durability has been achieved.
* @param listener to notify after full durability has been achieved.
* <code>false</code> if <code>waitIfOngoing==false</code>
* and an ongoing request is detected, else <code>true</code>.
* If <code>false</code> is returned, no flush happened.
Expand Down Expand Up @@ -3787,8 +3787,8 @@ public void onFailure(Exception e) {
}
}
});
afterWriteOperation();
flushOrRollRunning.compareAndSet(true, false);
afterWriteOperation();
});
} else if (shouldRollTranslogGeneration()) {
logger.debug("submitting async roll translog generation request");
Expand Down

0 comments on commit a627d49

Please sign in to comment.