You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Huaxiang Sun (Jira)" <ji...@apache.org> on 2021/03/25 01:49:00 UTC

[jira] [Updated] (HBASE-25590) Bulkload replication HFileRefs cannot be cleared in some cases where set exclude-namespace/exclude-table-cfs

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

Huaxiang Sun updated HBASE-25590:
---------------------------------
    Fix Version/s: 2.3.5
                   3.0.0-alpha-1

> 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)