Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
log: consolidate the commited entry rewrite check
The append function call right after this does the same check, we don't need to do this in two places. TestLogMaybeAppend exercises these panics, and confirms the behaviour is the same after the first panic is removed. Signed-off-by: Pavel Kalinnikov <[email protected]>
- Loading branch information