You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #19050, I moved code from src/rust/engine/fs/store/src/remote.rs to src/rust/engine/fs/store/src/remote/reapi.rs, but didn't move retry_calls for the stores (previously in store_buffered and store_bytes in remote.rs) into reapi.rs. Oops!
The reapi.rs store methods should call retry_call to retry transient failures too.
This fixes#19732 by restoring the retries when storing hits retryable
server failures from the REAPI remote cache server, which were lost in
the #19050 refactoring.
This also explicitly tests for retries, refactoring `StubCAS` to
generalise `read_request_count` to expose the counts of more requests
than just reads, and also consistently return a `Status::internal(...)`
for the simulated errors.
I think #19050 fortunately landed just after 2.17 was cut, so this
regression only affects the 2.18 pre-releases.
This fixes#19732 by restoring the retries when storing hits retryable
server failures from the REAPI remote cache server, which were lost in
the #19050 refactoring.
This also explicitly tests for retries, refactoring `StubCAS` to
generalise `read_request_count` to expose the counts of more requests
than just reads, and also consistently return a `Status::internal(...)`
for the simulated errors.
I think #19050 fortunately landed just after 2.17 was cut, so this
regression only affects the 2.18 pre-releases.
…#19737) (#19798)
This fixes#19732 by restoring the retries when storing hits retryable
server failures from the REAPI remote cache server, which were lost in
the #19050 refactoring.
This also explicitly tests for retries, refactoring `StubCAS` to
generalise `read_request_count` to expose the counts of more requests
than just reads, and also consistently return a `Status::internal(...)`
for the simulated errors.
I think #19050 fortunately landed just after 2.17 was cut, so this
regression only affects the 2.18 pre-releases.
Co-authored-by: Huon Wilson <huon@exoflare.io>
Describe the bug
In #19050, I moved code from
src/rust/engine/fs/store/src/remote.rs
tosrc/rust/engine/fs/store/src/remote/reapi.rs
, but didn't moveretry_call
s for the stores (previously instore_buffered
andstore_bytes
inremote.rs
) intoreapi.rs
. Oops!The
reapi.rs
store methods should callretry_call
to retry transient failures too.Pants version
#19050 landed in 2.18.0.dev0
OS
N/A
Additional info
N/A
The text was updated successfully, but these errors were encountered: