Bug #8281

[SDKs] [FUSE] Fix retrying arv-mount writes

Added by Tom Clegg almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Story points:
-

Associated revisions

Revision 83172cf7
Added by Tom Clegg almost 4 years ago

Merge branch '8281-arv-mount-retry' closes #8281

History

#1 Updated by Tom Clegg almost 4 years ago

  • Category set to SDKs
  • Assigned To set to Tom Clegg

#2 Updated by Tom Clegg almost 4 years ago

8281-arv-mount-retry

#3 Updated by Peter Amstutz almost 4 years ago

I got this once, but haven't gotten it again.

======================================================================
ERROR: test_KeepLongBinaryRWTest (tests.test_keep_client.KeepTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/arvados/sdk/python/tests/test_keep_client.py", line 63, in test_KeepLongBinaryRWTest
    blob_locator = self.keep_client.put(blob_str)
  File "/usr/src/arvados/sdk/python/arvados/retry.py", line 153, in num_retries_setter
    return orig_func(self, *args, **kwargs)
  File "/usr/src/arvados/sdk/python/arvados/keep.py", line 1065, in put
    data_hash, copies, thread_limiter.done()), service_errors, label="service")
KeepWriteError: failed to write 84d90fc0d8175dd5dcfab04b999bc956 (wanted 2 copies but wrote 1): service http://localhost:35762/ responded with 422 HTTP/1.1 100 Continuet
  HTTP/1.1 422 status code 422

#4 Updated by Peter Amstutz almost 4 years ago

After 3 more tries it passes, so I'm not sure if it's related to the bugfix. Rest of it LGTM.

#5 Updated by Tom Clegg almost 4 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:83172cf795687bd4f618d2c673be8fb30ca840df.

Also available in: Atom PDF