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

[WIP] [FLASH-319/343/344] PageSotrage MVCC && Snapshot read #138

Conversation

JaySon-Huang
Copy link
Contributor

@JaySon-Huang JaySon-Huang commented Jul 25, 2019

Snapshot read:

  • acquire a snapshot through PageStorage.getSnapshot()
  • set snapshot parameter when do read/traverse/traversePageEntries
  • if snapshot is nullptr(by default), PageStorage will generate a snapshot first

remove unused code && format codes
2. standalone VersionSet/MultiVersionCountable template
2. Apply generate new delta if has read ref
3. Delta merged when snapshot released
4. Add simple restore test
5. Use template and constexpr instead of copying codes in PageEntryMap
…c can collect valid PageFiles

2. fix some bugs
2. all tests passed
2. remove duplicated codes
1. listAllLiveFiles
2. double compaction on same version
…Set::listAllLiveFiles

2. use template to reduce duplicated code for gcApply
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

Successfully merging this pull request may close these issues.

1 participant