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

snapshot: ensure cache is flushed before assume snapshot is ready #5

Open
maxux opened this issue Jan 12, 2021 · 1 comment
Open

snapshot: ensure cache is flushed before assume snapshot is ready #5

maxux opened this issue Jan 12, 2021 · 1 comment
Assignees

Comments

@maxux
Copy link
Collaborator

maxux commented Jan 12, 2021

We can use power of 0-db for unlimited and automatic snapshot at any point of time.
But rollback to a time where some data are still in cache and are not in the database can lead to wrong rollback consistancy.

File system should have a way (probably an ioctl) to know a snapshot is requested. This would flush caches to ensure database is fully populated.

@maxux maxux self-assigned this Jan 12, 2021
@sasha-astiadi sasha-astiadi added this to the Now milestone Jan 14, 2021
@sasha-astiadi sasha-astiadi changed the title snapshot: ensure cache is flushed before assume snapshot is ready 0-DB-FS snapshot: ensure cache is flushed before assume snapshot is ready Feb 19, 2021
@sasha-astiadi sasha-astiadi changed the title 0-DB-FS snapshot: ensure cache is flushed before assume snapshot is ready snapshot: ensure cache is flushed before assume snapshot is ready Feb 22, 2021
@despiegk despiegk modified the milestones: Now, Later Feb 22, 2021
@sasha-astiadi
Copy link
Member

not needed for next releasae qsfs 0.9

@maxux maxux removed this from the Later milestone Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants