-
Notifications
You must be signed in to change notification settings - Fork 3.3k
HBASE-29245 Region reopening batch size should be increased when backoff is 0 #6892
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
base: master
Are you sure you want to change the base?
Conversation
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
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.
Nice catch. Back in the day, I think my intention was that you'd never configure batching without also configuring a backoff, but that wasn't a good idea because it makes this hard to configure
FWIW I do wonder if there's no significant value in configuring your clusters this way because it will work basically the same as an unbatched table modification (regions will be reopened as quickly as the HMaster can process their reopen procedures). So maybe it's worth adding a warning log recommending that the operator raise hbase.reopen.table.regions.progressive.batch.backoff.ms
?
Thanks for the review.
We're expecting two benefits of using the option, even without backoff.
|
Nice, I suppose there's enough latency baked into awaiting the slowest of each batch & issuing the next batch to really limit the disruption at any point in time. Great stuff 🚀 |
@rmdmattingly Can we merge this now? |
@Apache9 @rmdmattingly I think it's okay to merge. It's a relatively simple patch. I extended the existing test cases with more assertions and I also tested it manually to confirm that it works as expected with and without backoff. No backoff (default)2-second backoff |
Please take a look at #6951 as well. Appreciate it! |
@Apache9 @rmdmattingly Sorry to ping again, but is there anything else I can do to help move this and #6951 forward? We can live without this one because we can set the backoff value to something like 1ms, but we're particularly interested in getting #6951 into branch-2 so we can avoid maintaining it in our internal fork. I believe supporting multiple throttling configurations without requiring a master server restart makes the feature much more practical. |
No description provided.