-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
use uint64 for priority variable #18557
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: piggito The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @piggito. Thanks for your PR. I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
c7c452d
to
fb7c41d
Compare
Hi @piggito, thanks for your pull request. Unfortunately, this change would break the public API. I think you will have better odds at merging if you add a new function, |
Signed-off-by: Juan Peña <juan3789@gmail.com>
fb7c41d
to
bf81c66
Compare
hi @ivanvc thank you for your feedback, I updated PR with new |
/ok-to-test |
@piggito: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files
... and 26 files with indirect coverage changes @@ Coverage Diff @@
## main #18557 +/- ##
==========================================
- Coverage 68.76% 68.72% -0.05%
==========================================
Files 420 420
Lines 35470 35493 +23
==========================================
+ Hits 24391 24392 +1
- Misses 9658 9665 +7
- Partials 1421 1436 +15 Continue to review full report in Codecov by Sentry.
|
Changing priority variable from uint16 to uint64 allows for a wider range of values. For instance, we have a use case where we need unix timestamp in nanoseconds granularity which is not supported by uint16 but requires uint64.