[
https://issues.apache.org/jira/browse/HBASE-25549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17767429#comment-17767429
]
Gourab Taparia commented on HBASE-25549:
----------------------------------------
[~GeorryHuang] If you haven't already started, i actually did start on this
just a couple of days back, to go through the PR raised, and then resolve the
merge conflicts - and raise a new PR. I should be able to raise this in a day
or two. Apologies for the confusion, i could have called out here before. If
you have started already, I am okay with that too. Going forward, I plan to
also port this to HBase 2, with the sync API too.
FYI [~vjasani]
> Provide lazy mode when modifying table to avoid RIT storm
> ---------------------------------------------------------
>
> Key: HBASE-25549
> URL: https://issues.apache.org/jira/browse/HBASE-25549
> Project: HBase
> Issue Type: Improvement
> Components: master, shell
> Affects Versions: 3.0.0-alpha-1
> Reporter: Zhuoyue Huang
> Assignee: Zhuoyue Huang
> Priority: Major
> Fix For: 2.6.0, 2.5.6, 3.0.0-beta-1
>
>
> Under normal circumstances, modifying a table will cause all regions
> belonging to the table to enter RIT. Imagine the following two scenarios:
> # Someone entered the wrong configuration (e.g. negative
> 'hbase.busy.wait.multiplier.max' value) when altering the table, causing
> thousands of online regions to fail to open, leading to online accidents.
> # Modify the configuration of a table, but this modification is not urgent,
> the regions are not expected to enter RIT immediately.
> -'alter_lazy' is a new command to modify a table without reopening any online
> regions except those regions were assigned by other threads or split etc.-
>
> Provide an optional lazy_mode for the alter command to modify the
> TableDescriptor without the region entering the RIT. The modification will
> take effect when the region is reopened.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)