[
https://issues.apache.org/jira/browse/HBASE-25590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Huaxiang Sun resolved HBASE-25590.
----------------------------------
Resolution: Fixed
Resolving it for 2.3.5 release. Please reopen when landing the 2.2 patch.
> Bulkload replication HFileRefs cannot be cleared in some cases where set
> exclude-namespace/exclude-table-cfs
> ------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-25590
> URL: https://issues.apache.org/jira/browse/HBASE-25590
> Project: HBase
> Issue Type: Bug
> Components: Replication
> Affects Versions: 3.0.0-alpha-1, 2.2.6, 2.3.4, 2.4.1
> Reporter: Sun Xin
> Assignee: Sun Xin
> Priority: Major
> Fix For: 3.0.0-alpha-1, 2.3.5
>
>
> In
> [ReplicationSource#addHFileRefs|https://github.com/apache/hbase/blob/ed90a14995acd87111d2b9849f07d84418ca43d4/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java#L264],
> we may add unwanted hfiles to the _HFileRefs_ if a peer is set
> _replicate_all_ true and set _exclude-namespace/exclude-table-cfs_.
> These unwanted _HFileRefs_ will not be replicated to remote cluster and not
> be cleared.
> Two problems are caused by this bug:
> # The metric sizeOfHFileRefsQueue cannot be zeroed.
> # Referenced HFiles cannot be deleted by _ReplicationHFileCleaner._
--
This message was sent by Atlassian Jira
(v8.3.4#803005)