facebook / facebook/rocksdb

Introduce tail log entry to the end of a log file

Open
#3,962 4 comments 0 reactions 1 assignee Claimed by @riversand963 View on GitHub
up-for-grabs
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

Right now, after a machine crash, we don't know whether a log file is complete. For example, we may contain
4.log
5.log
but 4.log is partial, and has several entries missing in the end.
By adding a tail entry to the end of each closed log file, we can detect this case, so that we know we shouldn't continue relaying 5.log

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.