Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26861

Fix flaky TestSnapshotFromMaster.testSnapshotHFileArchiving

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: