-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Load all leases from backend #13676
Load all leases from backend #13676
Conversation
Codecov Report
@@ Coverage Diff @@
## main #13676 +/- ##
==========================================
- Coverage 72.77% 72.70% -0.07%
==========================================
Files 465 465
Lines 37865 37917 +52
==========================================
+ Hits 27556 27569 +13
- Misses 8535 8562 +27
- Partials 1774 1786 +12
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
The test failures are not related to current PR. Fail at
Fail
|
I'm still not sure what exactly this will fix. Let's try to describe the current behavior:
Going to the issues reported in #12535
|
This leads me to conclude that main problem is related to API allowing negative lease ID, however initAndRecover not handling it correctly. However we cannot just disable negative leaseID as this would be a breaking change in the API. I think we should rather consider fixing initAndRecover instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed all comments, squashed all commits into one and added one line in I think we should backport this bug fix to |
@chaochn47 thank you for addressing comments and squash, it looks great. +1 to backporting. |
backport 3.5: #13676 load all leases from backend
Signed-off-by: Chao Chen <chaochn@amazon.com>
backport 3.5: #13676 load all leases from backend
Signed-off-by: Chao Chen <chaochn@amazon.com>
Fix #12535
Reproduce integration test is on chaochn47#6
Manual e2e test is in #12535 (comment)
@serathius PTAL, thanks!