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

Get rid of race-conditions with shard mode checking #1956

Closed
fyrchik opened this issue Oct 24, 2022 · 0 comments · Fixed by #2142
Closed

Get rid of race-conditions with shard mode checking #1956

fyrchik opened this issue Oct 24, 2022 · 0 comments · Fixed by #2142
Assignees
Labels
bug Something isn't working neofs-storage Storage node application issues U2 Seriously planned

Comments

@fyrchik
Copy link
Contributor

fyrchik commented Oct 24, 2022

Example: https://github.com/nspcc-dev/neofs-node/blob/master/pkg/local_object_storage/shard/gc.go#L181
Shard mode mutex should be taken on read for the whole operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working neofs-storage Storage node application issues U2 Seriously planned
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants