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

Model errors of create with generate_name #566

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

marshtompsxd
Copy link
Collaborator

@marshtompsxd marshtompsxd commented Oct 8, 2024

By removing the precondition on the API error type from drop_req, we generalize our fault model by including a new type of error: creation request with generate_name fails to create the object when all the creation attempts conflict with existing objects. This type of error is non-deterministic because the API server uses a name randomly generated when handling a creation request whose name is empty and generate_name is in use. We treat it as a transient error and assume that it will eventually disappear. Otherwise, there is no way for controllers that issue creation requests with generate_name to finish reconciliation.

Signed-off-by: Xudong Sun <[email protected]>
Signed-off-by: Xudong Sun <[email protected]>
@marshtompsxd marshtompsxd added this pull request to the merge queue Oct 8, 2024
Merged via the queue into main with commit 3cc30cf Oct 8, 2024
17 checks passed
@marshtompsxd marshtompsxd deleted the xudong/overapproximate-api-errors branch October 21, 2024 02:21
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.

1 participant