You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/11 20:37:00 UTC

[jira] [Closed] (HBASE-1406) Refactor HRS

     [ https://issues.apache.org/jira/browse/HBASE-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kyle Purtell closed HBASE-1406.
--------------------------------------

> Refactor HRS
> ------------
>
>                 Key: HBASE-1406
>                 URL: https://issues.apache.org/jira/browse/HBASE-1406
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>    Affects Versions: 0.20.0
>            Reporter: Nitay Joffe
>            Priority: Major
>
> The current HRS implementation is a mess, especially after ZooKeeper additions to handle Session Expired events. See HBASE-1311.
> It contains logic to restart itself which caused a lot of fields to be non-final that can be. It should be split out to two separate class, one that runs HRS duties and one that watches over the first in a join/restart loop. Using this means a special event like a ZooKeeper Session Expired wouldn't require special restart code, just an abort. The new wrapper class will handle restarting.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)