You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2022/03/18 16:52:00 UTC

[jira] [Resolved] (HBASE-26861) Fix flaky TestSnapshotFromMaster.testSnapshotHFileArchiving

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

Duo Zhang resolved HBASE-26861.
-------------------------------
    Fix Version/s: 2.5.0
                   3.0.0-alpha-3
                   2.4.12
     Hadoop Flags: Reviewed
       Resolution: Fixed

Pushed to branch-2.4+.

Thanks [~Xiaolin Ha] for reviewing!

> Fix flaky TestSnapshotFromMaster.testSnapshotHFileArchiving
> -----------------------------------------------------------
>
>                 Key: HBASE-26861
>                 URL: https://issues.apache.org/jira/browse/HBASE-26861
>             Project: HBase
>          Issue Type: Task
>          Components: snapshots, test
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 2.5.0, 3.0.0-alpha-3, 2.4.12
>
>
> After investigating, finally I found that the problem is we just use tryLock in SnapshotFileCache.getUnreferencedFiles. If we failed to grab lock, we will skip cleaning of the archive files.
> We should add some retries in the test to make it more stable.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)