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

Race condition in labelmap POST /blocks?downres=true #342

Open
stuarteberg opened this issue Jan 15, 2020 · 0 comments
Open

Race condition in labelmap POST /blocks?downres=true #342

stuarteberg opened this issue Jan 15, 2020 · 0 comments

Comments

@stuarteberg
Copy link
Member

@stuarteberg stuarteberg commented Jan 15, 2020

When I use POST .../blocks to write segmentation into a labelmap instance, DVID is supposed to generate the low-scale pyramid levels if I supply ?downres=true. It looks like there is a race condition that prevents it from writing correctly, unless the shape of the chunks is carefully chosen. For instance, writing chunks that were of shape (2048, 64, 64) didn't work correctly (some low-res blocks remained blank), but writing chunks of (256, 256, 256) seemed to work.

In lieu of a fix, perhaps some guidance in the documentation for POST .../blocks would help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.