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

use fine-grained locks #4004

Closed
pille opened this issue Aug 2, 2018 · 2 comments · Fixed by #8332
Closed

use fine-grained locks #4004

pille opened this issue Aug 2, 2018 · 2 comments · Fixed by #8332

Comments

@pille
Copy link

pille commented Aug 2, 2018

it would be nice to evaluate all locks and fine-tune them.
maybe different actions hold different locks resulting in actions being able to be done at the same time.
the most basic approach would be read/write which may allow for list or info actions during a running create. this would also create the need to handle incomplete data. e.g. the running backup should be ignored. it would be a good idea to state that one is currently running, though.

maybe it's possible to make long-runnig tasks like a check non-blocking.

@ThomasWaldmann
Copy link
Member

well, doing a (full) check while things are changing doesn't sound like doable / advisable (and especially not check --repair).

@pille
Copy link
Author

pille commented Aug 12, 2018

i don't know the details, but old data-blocks should not change. at least not in append-only mode.
it's perfectly fine to skip new blocks. check --repair clearly is out of scope, as it's not read-only.

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 a pull request may close this issue.

2 participants