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: dagstore destroy-shard #744

Merged
merged 1 commit into from
Aug 31, 2022
Merged

fix: dagstore destroy-shard #744

merged 1 commit into from
Aug 31, 2022

Conversation

LexLuthr
Copy link
Collaborator

the check keep failing each time for errored out shards. We should directly issue a deleted instead of checking. incorrect CID will be covered by error thrown from destroy call itself.

@LexLuthr LexLuthr requested a review from dirkmc August 30, 2022 15:18
@dirkmc
Copy link
Contributor

dirkmc commented Aug 30, 2022

I'm not sure if this is going to fix the issue you mentioned. If there's any kind of error, BoostDagstoreDestroyShard will return the error on line 459, so the code you removed was redundant anyway.

@LexLuthr
Copy link
Collaborator Author

This is just to remove the redundant code. The slack issue is different. I will open a new issue for it once I have everything ready for it.

Copy link
Member

@rvagg rvagg left a comment

Choose a reason for hiding this comment

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

👍 redundant

@dirkmc dirkmc merged commit 57e5a9f into main Aug 31, 2022
@dirkmc dirkmc deleted the fix/shard-destroy branch August 31, 2022 07:20
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.

3 participants