Skip to content

Conversation

@r7raul1984
Copy link

What changes were proposed in this pull request?

Do not attempt to fetch from any worker that has already been added to fetchExcludedWorkers. Instead, try fetching from a peer worker within the same PartitionLocation.

Why are the changes needed?

With the configuration celeborn.client.fetch.excludeWorkerOnFailure.enabled=true and celeborn.client.push.replicate.enabled=true,
when a fetch operation fails for a specific worker, that worker is added to fetchExcludedWorkers. However, subsequent attempts still try to fetch from this worker, causing repeated errors and slowing down shuffle fetch performance.
The logic should be modified so that any worker already in fetchExcludedWorkers is completely excluded from further fetch operations.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manual test by debug

@SteNicholas SteNicholas changed the title [CELEBORN-2183]Client always tries to start a connection with exclude… [CELEBORN-2183] Client always tries to start a connection with exclude wrokers Oct 23, 2025
Copy link
Member

@SteNicholas SteNicholas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@r7raul1984, thanks for contribution. Please run dev/reformat to format.

@r7raul1984
Copy link
Author

@r7raul1984, thanks for contribution. Please run dev/reformat to format.

ok

@SteNicholas SteNicholas changed the title [CELEBORN-2183] Client always tries to start a connection with exclude wrokers [CELEBORN-2183] Client always tries to start a connection with exclude workers Oct 23, 2025
@SteNicholas SteNicholas changed the title [CELEBORN-2183] Client always tries to start a connection with exclude workers [CELEBORN-2183] Client always tries to start a connection with excluded workers Oct 23, 2025
@SteNicholas SteNicholas changed the title [CELEBORN-2183] Client always tries to start a connection with excluded workers [CELEBORN-2183] Fix client tries to start a connection with excluded workers Oct 23, 2025
fetchChunkRetryCnt++;
if (location.hasPeer() && !readSkewPartitionWithoutMapRange) {
if (location.hasPeer()
&& !isExcluded(location.getPeer())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears that isExcluded(location.getPeer()) now serves the same purpose as isExcluded(location) at line 455.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My idea is to add this here to prevent throwing a new CelebornIOException at line 456.

@SteNicholas
Copy link
Member

@r7raul1984, any update?

@r7raul1984
Copy link
Author

@r7raul1984, any update?

No more update

@SteNicholas SteNicholas requested a review from RexXiong November 17, 2025 06:02
@SteNicholas
Copy link
Member

@r7raul1984, the CI run failed. PTAL.

@r7raul1984
Copy link
Author

PTAL

ok

@r7raul1984
Copy link
Author

@r7raul1984, the CI run failed. PTAL.

how to rerun these checks?

@SteNicholas
Copy link
Member

@r7raul1984, you'd better to close this pull request and reopen.

@r7raul1984 r7raul1984 closed this Nov 19, 2025
@r7raul1984 r7raul1984 reopened this Nov 19, 2025
@r7raul1984 r7raul1984 closed this Nov 19, 2025
@r7raul1984 r7raul1984 reopened this Nov 19, 2025
@r7raul1984
Copy link
Author

@r7raul1984, you'd better to close this pull request and reopen.

It’s very strange — there are three checks that always fail randomly.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

This PR is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added stale and removed stale labels Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants