Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,10 @@ public void skipTranslogRecovery() {
pendingTranslogRecovery.set(false); // we are good - now we can commit
}

protected boolean pendingTranslogRecovery() {
return pendingTranslogRecovery.get();
}

private void recoverFromTranslogInternal(
TranslogRecoveryRunner translogRecoveryRunner,
long recoverUpToSeqNo,
Expand Down Expand Up @@ -3133,7 +3137,7 @@ protected Map<String, String> getCommitExtraUserData(final long localCheckpoint)
return Collections.emptyMap();
}

final void ensureCanFlush() {
protected void ensureCanFlush() {
// translog recovery happens after the engine is fully constructed.
// If we are in this stage we have to prevent flushes from this
// engine otherwise we might loose documents if the flush succeeds
Expand Down