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

feat: make session snapshot more full proof #786

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

soumyamahunt
Copy link
Contributor

@soumyamahunt soumyamahunt commented Feb 21, 2021

  1. Implemented transacted write model for creating session snapshot files (both backup and metadata file).
  2. Reduced number of IO operations to improve speed during load.
  3. Implemented recovering tabs from orphaned snapshot files.

PR Type

What kind of change does this PR introduce?

  • Feature

@soumyamahunt
Copy link
Contributor Author

@Jasonstein I think notepads should use database like Realm instead of using a json file to store metadata. This would make storing metadata safer. Also, we can use .~TMP files remaining from failed write transaction to recover more data.

@soumyamahunt soumyamahunt changed the title Making session snapshot full proof feat: Made session snapshot more full proof Mar 29, 2021
@soumyamahunt soumyamahunt changed the title feat: Made session snapshot more full proof feat: make session snapshot more full proof Apr 18, 2021
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