Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit log #18

Closed
9 tasks done
Terkwood opened this issue Jul 24, 2021 · 0 comments
Closed
9 tasks done

Commit log #18

Terkwood opened this issue Jul 24, 2021 · 0 comments

Comments

@Terkwood
Copy link
Owner

Terkwood commented Jul 24, 2021

Append

  • Append to commit log before writing to memtable
  • Manage tombstones
  • Write TSV
  • Record monotonic time

Replay

  • Call CommitLog.replay() on app startup
  • Read every value since the beginning of the log, and push each one into memtable.
  • Read TSV
  • Do not update SSTable files
  • test escaping -- append doesn't bother with it. Does NimbleCSV parsing step on some values, e.g. \n?

Discard on Memtable flush

Background

An amusing article on Commit Log from Knoldus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant