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

Fix: add on-disk deletion of shards #145

Merged
merged 6 commits into from
Sep 20, 2022
Merged

Fix: add on-disk deletion of shards #145

merged 6 commits into from
Sep 20, 2022

Conversation

LexLuthr
Copy link
Contributor

@LexLuthr LexLuthr commented Sep 19, 2022

Currently, dagstore implementation only deletes the shard from in-memory map of keys. When dagstore is restarted, the shard comes back from disk.

@LexLuthr LexLuthr marked this pull request as draft September 19, 2022 09:51
@LexLuthr LexLuthr marked this pull request as ready for review September 19, 2022 11:58
Copy link
Contributor

@dirkmc dirkmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, just one suggestion for a refactor. Test looks great too 👍

dagstore_control.go Outdated Show resolved Hide resolved
dagstore_control.go Outdated Show resolved Hide resolved
dagstore_control.go Outdated Show resolved Hide resolved
dagstore_control.go Outdated Show resolved Hide resolved
dagstore_control.go Outdated Show resolved Hide resolved
dagstore_control.go Outdated Show resolved Hide resolved
@LexLuthr LexLuthr merged commit b9daa1d into master Sep 20, 2022
@LexLuthr LexLuthr deleted the fix/disk-deletion branch September 20, 2022 11:29
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.

2 participants