Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xRFC TP3: Error Propagation #107

Merged
merged 21 commits into from
Dec 13, 2024
Merged

Conversation

anicr7
Copy link
Contributor

@anicr7 anicr7 commented Oct 25, 2024

Proposal for the xDS error propagation which allows xDS management servers to provide additional information to the clients in case of errors like permission errors or resource being missing.

cc: @markdroth, @adisuissa, @htuch

@markdroth markdroth changed the title Signed-off-by: Anirudh Ramachandra <[email protected]> xRFC TP3: Error Propagation Oct 25, 2024
@anicr7 anicr7 marked this pull request as ready for review October 25, 2024 23:18
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
Copy link
Contributor

@markdroth markdroth left a comment

Choose a reason for hiding this comment

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

Thanks for writing this up, @anicr7!

Please let me know if you have any questions about any of this.

proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
Copy link
Contributor

@markdroth markdroth left a comment

Choose a reason for hiding this comment

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

This looks good overall! I have a few more cosmetic comments, but the two main open questions are the ones from my last review pass on which I want to get some additional input.

proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
@anicr7 anicr7 requested a review from markdroth November 13, 2024 20:36
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
@anicr7 anicr7 requested a review from markdroth November 18, 2024 18:46
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
Copy link

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

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

I still think that having the knowledge of the state of a resource (even if it exists) may be challenging in a distributed system that has a non-strong consistency model.
However, I understand that some systems may benefit from this field, and therefore it should be allowed but optional.

I'm resolving the comments.

proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
Copy link
Contributor

@markdroth markdroth left a comment

Choose a reason for hiding this comment

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

This looks really good! Just a couple of minor things left.

proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
proposals/TP3-xds-error-propagation.md Show resolved Hide resolved
@anicr7 anicr7 requested a review from markdroth December 13, 2024 07:22
Copy link

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

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

Please fix DCO

@anicr7 anicr7 force-pushed the xds_error_propagation branch from efb4593 to 57a08b7 Compare December 13, 2024 18:05
@anicr7 anicr7 requested a review from adisuissa December 13, 2024 18:07
Copy link
Contributor

@markdroth markdroth left a comment

Choose a reason for hiding this comment

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

Just one small nit left!

For future reference, please don't force-push to a PR once a review has started, since that makes it hard for the review to see what's changed since their last review pass. Thanks!

proposals/TP3-xds-error-propagation.md Outdated Show resolved Hide resolved
@anicr7 anicr7 requested a review from markdroth December 13, 2024 21:37
Copy link
Contributor

@markdroth markdroth left a comment

Choose a reason for hiding this comment

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

This looks great!

Please fix CI, so that we can get this merged. Thanks!

Proposal for the xDS error propagation which allows xDS management
servers to provide additional information to the clients in case of
errors like permission errors or resource being missing.

Signed-off-by: Anirudh Ramachandra <[email protected]>
…or lists and nested lists

Signed-off-by: Anirudh Ramachandra <[email protected]>
Signed-off-by: Anirudh Ramachandra <[email protected]>
Signed-off-by: Anirudh Ramachandra <[email protected]>
Signed-off-by: Anirudh Ramachandra <[email protected]>
Signed-off-by: Anirudh Ramachandra <[email protected]>
Signed-off-by: Anirudh Ramachandra <[email protected]>
…ording the wildcard resources section

Signed-off-by: Anirudh Ramachandra <[email protected]>
Signed-off-by: Anirudh Ramachandra <[email protected]>
Signed-off-by: Anirudh Ramachandra <[email protected]>
Signed-off-by: Anirudh Ramachandra <[email protected]>
Signed-off-by: Anirudh Ramachandra <[email protected]>
@anicr7 anicr7 force-pushed the xds_error_propagation branch from 918a257 to 92b6224 Compare December 13, 2024 21:41
@anicr7
Copy link
Contributor Author

anicr7 commented Dec 13, 2024

This looks great!

Please fix CI, so that we can get this merged. Thanks!

@markdroth This should now be fixed!

@markdroth markdroth merged commit 57cfbe6 into cncf:main Dec 13, 2024
4 checks passed
@anicr7 anicr7 deleted the xds_error_propagation branch December 13, 2024 21:53
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.

4 participants