Skip to content

grpc/load_balancing: Update error reporting in child manager. - #2903

Merged
nathanielford merged 2 commits into
grpc:masterfrom
nathanielford:refactor/child_manager_errors
Oct 2, 2026
Merged

nathanielford merged 2 commits into
grpc:masterfrom
nathanielford:refactor/child_manager_errors

Conversation

@nathanielford

@nathanielford nathanielford commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

When working on cluster manager and weighted target LBs, noticed there was no way to identify which error came from which child. (The errors just get joined together.)

Solution

To avoid erasing the error origins, concatenate the child identifier with it's error before they are all joined together.

Notes

  • I think the mapping of error to string was redundant, so I removed it.

@nathanielford
nathanielford requested a review from dfawley October 1, 2026 20:36
@nathanielford
nathanielford marked this pull request as ready for review October 1, 2026 22:03
@nathanielford

nathanielford commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor Author

The CI error is being fixed in #2904. Will re-run and merge after that lands (or is otherwise resolved). (And after review, of course.)

@dfawley dfawley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks good (once CI passes after the other fix). Thanks!

@nathanielford
nathanielford enabled auto-merge (squash) October 2, 2026 19:28
@nathanielford
nathanielford merged commit 2681a7e into grpc:master Oct 2, 2026
30 checks passed
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.

2 participants