-
Notifications
You must be signed in to change notification settings - Fork 7
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
DVIDNodeService.body_exists takes a long time with some body ids #14
Comments
If you try it again does it take a long time. I wonder if the server is just hanging up a bit once in awhile. We could extend the timeout for these requests as well. |
It is always the same body ids that cause it to fail. I'll send you an ipython notebook with a minimal example. |
It should be faster than using sparse volume GET for those bodies, but on On Tue, Sep 1, 2015 at 3:54 PM, Charlotte Weaver [email protected]
|
I don't understand. If I call the URI with GET instead of HEAD it is not that big of a body and returns within a few seconds. Why would the HEAD be slower than a normal GET. |
It shouldn't be unless the range query is incorrect and it's scanning a lot more than necessary. I'm assuming this isn't a driver issue. |
I am using curl from the command line and I fetch a 16MB file <1 second using GET. You can try the command because the debug printed that which failed. Calling HEAD is slower and I didn't wait for it to complete. sparsevol-coarse is even faster of course. |
Could it be some tombstone issue? I am getting back 200 for non-head calls and I am getting more data than just a few bytes. |
Don't know. I'll escalate this on the DVID repo to a bug issue from an On Tue, Sep 1, 2015 at 4:11 PM, Stephen Plaza [email protected]
|
For example body id 711583 takes ~ 1 min to return with a 400 status
RuntimeError Traceback (most recent call last)
in ()
----> 1 node_service.body_exists('bodies3', 711583)
RuntimeError: DVID Error (0): DVIDConnection error: http://emdata1.int.janelia.org:8500/api/node/4c832/bodies3/sparsevol/711583
The text was updated successfully, but these errors were encountered: