Skip to content

branch-4.1: [fix](test) stabilize internal copy recycler case #63340#63601

Merged
yiguolei merged 1 commit into
branch-4.1from
auto-pick-63340-branch-4.1
May 26, 2026
Merged

branch-4.1: [fix](test) stabilize internal copy recycler case #63340#63601
yiguolei merged 1 commit into
branch-4.1from
auto-pick-63340-branch-4.1

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Cherry-picked from #63340

### What problem does this PR solve?

Problem Summary:

`cloud_p0/recycler/test_recycler_with_internal_copy.groovy` may fail
after recycling internal stage files. The case only waited until the
object file disappeared from object storage, but
`checkRecycleInternalStage` cannot guarantee that the corresponding
`copy_job` / `copy_file` metadata in meta-service has also been removed.

If the same file is uploaded again before the stale copy metadata is
cleaned, `copy into` may still be filtered as already loaded and return
`CANCELLED` with `No files can be copied`.

This patch retries the post-recycle `copy into` only for that expected
stale-metadata cancellation, until it succeeds or times out.
@github-actions github-actions Bot requested a review from yiguolei as a code owner May 25, 2026 08:15
@yiguolei
Copy link
Copy Markdown
Contributor

run buildall

@yiguolei
Copy link
Copy Markdown
Contributor

skip buildall

@yiguolei yiguolei closed this May 26, 2026
@yiguolei yiguolei reopened this May 26, 2026
@yiguolei yiguolei merged commit f530fcb into branch-4.1 May 26, 2026
32 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants