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

increase_*_counter methods should return error in case of overflow #857

Closed
Tracked by #861
Farhad-Shabani opened this issue Sep 5, 2023 · 0 comments · Fixed by #858
Closed
Tracked by #861

increase_*_counter methods should return error in case of overflow #857

Farhad-Shabani opened this issue Sep 5, 2023 · 0 comments · Fixed by #858
Assignees
Labels
A: breaking Admin: breaking change that may impact operators
Milestone

Comments

@Farhad-Shabani
Copy link
Member

Summary

In order to allow hosts implementing ExecutionContext to handle overflow cases for increase_*_counter methods, they should return the Result<(),ContextError> type.

@Farhad-Shabani Farhad-Shabani added the A: breaking Admin: breaking change that may impact operators label Sep 5, 2023
@Farhad-Shabani Farhad-Shabani changed the title The increase_*_counter methods should return an error in case of overflow increase_*_counter methods should return error in case of overflow Sep 5, 2023
@Farhad-Shabani Farhad-Shabani self-assigned this Sep 7, 2023
@Farhad-Shabani Farhad-Shabani added this to the v0.45.0 milestone Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: breaking Admin: breaking change that may impact operators
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant