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

Implement data deletion #47

Open
satta opened this issue Aug 27, 2019 · 1 comment
Open

Implement data deletion #47

satta opened this issue Aug 27, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@satta
Copy link
Member

satta commented Aug 27, 2019

It should be possible to purge data from a database, selected via some matching indicator. An example would be deleting all observations from a specific sensor ID.

@satta satta added the enhancement New feature or request label Aug 27, 2019
@satta
Copy link
Member Author

satta commented Aug 25, 2020

This is probably a feature of the specific backend, let's only track the impact on the RocksDB backend here, since it's bundled with the balboa source.
One might think of adding a compaction filter that drops entries if their sensor IDs match a given list of 'deleted' sensor IDs, as well as making sure these never show up in scans when accessed outside of a compaction. This is probably the closest we can get without having to lock and delete everything sequentially.

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

No branches or pull requests

1 participant