[ https://issues.apache.org/jira/browse/HBASE-22012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16903777#comment-16903777 ]
Shardul Singh commented on HBASE-22012: --------------------------------------- Hi [~nihaljain.cs], I have a patch for this issue..if it's not a problem should I go ahead and assign to myself? :) > SpaceQuota DisableTableViolationPolicy will cause cycles of enable/disable > table > -------------------------------------------------------------------------------- > > Key: HBASE-22012 > URL: https://issues.apache.org/jira/browse/HBASE-22012 > Project: HBase > Issue Type: Bug > Affects Versions: 3.0.0, 2.2.1 > Reporter: Ajeet Rai > Assignee: Nihal Jain > Priority: Major > Labels: Quota, Space > > Space Quota: Policy state is getting changed from disable to Observance after > sometime automatically. > Steps: > 1: Create a table with space quota policy as Disable > 2: Put some data so that table state is in space quota violation > 3: So observe that table state is in violation > 4: Now wait for some time > 5: Observe that after some time table state is changing to to Observance > however table is still disabled > edit (elserj): The table is automatically moved back from the violation state > because of the code added that tried to ride over RITs. When a Region is not > online (whether normally or abnormally), the RegionSizeReports are not sent > from RS to Master. Eventually, enough Regions are not reported which dips > below the acceptable threshold and we automatically move the table back to > the "acceptable" space quota state (not in violation). We could skip this > failsafe when we're checking for a quota that has the DisableTable violation > policy. -- This message was sent by Atlassian JIRA (v7.6.14#76016)