Bug #13106
closed
[SDK] API errors in Python keepclient don't reset cache slot
Added by Peter Amstutz about 7 years ago.
Updated over 6 years ago.
Release relationship:
Auto
Description
In keepclient.get, a cache slot is reserved when starting a get operation so that multiple gets on the same block don't result in redundant downloads. Unfortunately, the cache slot is not reset if there is an API error (keepstore errors are handled), with the result that the next attempt to read the same block will hang forever.
- Status changed from New to In Progress
- Description updated (diff)
- Assigned To set to Peter Amstutz
LGTM.
Just one question: Do you think it would be convenient to add a comment on the test pointing to the bug so that’s more clear as to why there are 2 asserts on the same operation?
Lucas Di Pentima wrote:
LGTM.
Just one question: Do you think it would be convenient to add a comment on the test pointing to the bug so that’s more clear as to why there are 2 asserts on the same operation?
Yes, that's a good idea.
- Status changed from In Progress to Resolved
Also available in: Atom
PDF