Repository navigation
fs cp -r: retry transient directory errors - #7787
yuanjieding-db wants to merge 1 commit into
Conversation
af4903e to
717bb8b
Compare
a7c5b35 to
e704d85
Compare
Regression test report ✅Commit: Selected 10 changed tests (limit=20, 0 not selected) 26 tests: regression=26 unreleased=0 coverage=0 failing=0
TestAccept/cmd/fs/cp-r-keep-going/burst-retry-after: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): same output as main (f504773) TestAccept/cmd/fs/cp-r-keep-going/mkdir-500: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): same output as main (f504773) TestAccept/cmd/fs/cp-r-keep-going/outage-past-stall: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): same output as main (f504773) TestAccept/cmd/fs/cp-r-keep-going/persistent-500: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): same output as main (f504773) TestAccept/cmd/fs/cp-r-keep-going/single-500: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): TestAccept/cmd/fs/cp-r-requests: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): same output as main (f504773) TestAccept/cmd/fs/cp/dir-to-dir: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): same output as main (f504773) TestAccept/cmd/fs/cp/matrix/dir/DST=dbfs/SRC=dbfs: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): TestAccept/cmd/fs/cp/matrix/dir/DST=dbfs/SRC=local: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): TestAccept/cmd/fs/cp/matrix/dir/DST=dbfs/SRC=volume: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): TestAccept/cmd/fs/cp/matrix/dir/DST=local/SRC=dbfs: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): TestAccept/cmd/fs/cp/matrix/dir/DST=local/SRC=local: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): TestAccept/cmd/fs/cp/matrix/dir/DST=local/SRC=volume: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): TestAccept/cmd/fs/cp/matrix/dir/DST=volume/SRC=dbfs: branch ✅ | main (f504773) ❌ | latest (v1.28.0) ❌main (f504773): latest (v1.28.0): 12 more failure details omitted, see the full report in the run. |
✅ Integration test reportCommit: caff802
Top 3 slowest tests (at least 2 minutes):
|
717bb8b to
7c7d3c8
Compare
e704d85 to
0aa78e6
Compare
7c7d3c8 to
bdcee00
Compare
0aa78e6 to
0909349
Compare
bdcee00 to
4a552ce
Compare
0909349 to
a7cefac
Compare
4a552ce to
54d8012
Compare
a7cefac to
9b1f622
Compare
A 500 on one Mkdir or source listing used to end the whole copy. A retryable error on a target Mkdir or a source directory listing during the walk is now retried in place, one call at a time, with the breaker's 2s to 30s backoff and Retry-After, until the call has failed for the stall timeout. A non-retryable error, or one that outlasts the timeout, still stops the copy. Co-authored-by: Isaac <no-reply@databricks.com>
9b1f622 to
caff802
Compare
54d8012 to
6cdf97e
Compare
Stack. Each PR is based on the one before it, so its diff shows only its own change.
This is part 6.
Changes
A 500 on one
Mkdiror source listing used to end the whole copy. A retryable error on a targetMkdir, a source listing, or the walk'sStatof the source root is now retried in place:Retry-After.Why
The goal is a large copy that finishes despite transient 5xx errors. A directory call is one of the requests that can hit one.
Tests
TestRecursiveCopyWalkRetry(fake clock):Mkdir500 is retried in place;cmd/fs/cp-r-keep-going/mkdir-500.Self-review
Isaac review, 1 finding:
/code-review(medium), 9 findings:Statof the source root wasn't retried. It's retried again, as in the validated build.Mkdir500. Listing retries and DBFS errors have unit tests.This pull request and its description were written by Isaac.