Skip to content
Open
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 @@ -143,6 +143,7 @@ private static boolean isScmFinalized(StorageContainerManager scm, boolean waitF
"Requiring DB key to flush? {}",
scm.getSCMNodeId(), scm.checkLeader(), exitedSafemode, isFinalized, dbKeyFlushed, waitForDBKeyFlush);

return exitedSafemode && isFinalized && (!waitForDBKeyFlush || dbKeyFlushed);
// Safemode exit status is included for logging purposes, but SCMs can still finalize while in safemode.
return isFinalized && (!waitForDBKeyFlush || dbKeyFlushed);
}
}
Loading