-
Notifications
You must be signed in to change notification settings - Fork 99
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
refactor: refactor controller to use dynamic client and use better ratelimiter for controlled exponential backoff #186
refactor: refactor controller to use dynamic client and use better ratelimiter for controlled exponential backoff #186
Conversation
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.
Requested some changes
@abhilashshetty04 -- All commits require a DCO signature. Commit e405d3c is not signed. Also, please add a relevant PR description |
Signed-off-by: Abhilash Shetty <abhilashshetty@abhilashshetty-mbp1.local>
Signed-off-by: Abhilash Shetty <abhilashshetty@abhilashshetty-mbp1.local>
Signed-off-by: Abhilash Shetty <abhilash.shetty@datacore.com>
Signed-off-by: Abhilash Shetty <abhilash.shetty@datacore.com>
…to klog Signed-off-by: Abhilash Shetty <abhilash.shetty@datacore.com>
Signed-off-by: Abhilash Shetty <abhilash.shetty@datacore.com>
6147129
to
6444d2b
Compare
Signed-off-by: Abhilash Shetty <abhilash.shetty@datacore.com>
Signed-off-by: Abhilash Shetty <abhilash.shetty@datacore.com>
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.
Few comments @abhilashshetty04.
Signed-off-by: Abhilash Shetty <abhilash.shetty@datacore.com>
Signed-off-by: Abhilash Shetty <abhilash.shetty@datacore.com>
Signed-off-by: Abhilash Shetty <abhilash.shetty@datacore.com>
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.
lgtm. Thanks @abhilashshetty04
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.
One little nitpick
Signed-off-by: Abhilash Shetty <abhilash.shetty@datacore.com>
Signed-off-by: Abhilash Shetty abhilashshetty@abhilashshetty-mbp1.local
Why is this PR required? What issue does it fix?:
What this PR does?:
Snapshot busylooping Fix:
We have changed the ratelimiter which was used in snapshot controller. This ratelimiter requeues failed items after 5 secs for first 12 attempts. Then objects are requeued after 30 secs. I had unloaded dm-snapshot kernel module to reproduce this. Attached logs from the relevant node plugin below.
retrylogs.txt
Issues: