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

scrubbing on ZDB #90

Open
robvanmieghem opened this issue Nov 3, 2020 · 1 comment
Open

scrubbing on ZDB #90

robvanmieghem opened this issue Nov 3, 2020 · 1 comment
Assignees

Comments

@robvanmieghem
Copy link
Contributor

  • delete on ZDB
  • needs to be configurable e.g. when to use (should not be used when high load)
  • delete should still allow us to go back to history
  • NEED INFO & SPECS
@maxux
Copy link
Collaborator

maxux commented Nov 3, 2020

Right now, if you delete a key, requesting history will fails (key not found).
Data are still reachable on disk. There is just a flag set (deleted flag).

Scrubbing is intended to be external process (could be integrated to zdbd if needed), when scrubbing, expected workflow for now is:

All of this can be done without restarting zdb.

Right now, scrubbing will completely remove all deleted data. Entries will be still there (you could still know timestamp of history, but data are truncated).
If some deleted data should be kept, another flag should be set. Which one ?

@robvanmieghem robvanmieghem transferred this issue from threefoldtech/home Dec 15, 2020
@sasha-astiadi sasha-astiadi added this to the next milestone Dec 29, 2020
@maxux maxux removed this from the next milestone Jul 4, 2022
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

3 participants