[
https://issues.apache.org/jira/browse/HBASE-24341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Junhong Xu updated HBASE-24341:
-------------------------------
Description: When the region is opened, we register the region to the
ConfigurationManager as a ConfigurationObserver object.However, when the region
is closed, we don't deregister the region as a ConfigurationObserver object
from the ConfigurationManager correspondingly. It's not a bug for now cos we
can update the conf whenever the region is open or not.But it is bug-prone,
and we should remove it from the ConfigureManager object when the region is
closed. (was: When the region is opened, we register the region to the
ConfigurationManager as a ConfigurationObserver object.However, when the region
is closed, we don't deregister the region as a ConfigurationObserver object
from the ConfigurationManager correspondingly. It's not a bug for now cos we do
nothing at the region level(we do things at store level actually) when the
configuration is updated whenever the region is open or not for now.But it is
bug-prone, and we should remove it from the ConfigureManager object when the
region is closed.)
> The region should be removed from ConfigurationManager as a
> ConfigurationObserver when the region is closed
> -----------------------------------------------------------------------------------------------------------
>
> Key: HBASE-24341
> URL: https://issues.apache.org/jira/browse/HBASE-24341
> Project: HBase
> Issue Type: Improvement
> Reporter: Junhong Xu
> Assignee: Junhong Xu
> Priority: Minor
>
> When the region is opened, we register the region to the ConfigurationManager
> as a ConfigurationObserver object.However, when the region is closed, we
> don't deregister the region as a ConfigurationObserver object from the
> ConfigurationManager correspondingly. It's not a bug for now cos we can
> update the conf whenever the region is open or not.But it is bug-prone, and
> we should remove it from the ConfigureManager object when the region is
> closed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)