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

Add a test case for HBASE-14317

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-1
    • 2.0.0-beta-2, 2.0.0
    • wal
    • None
    • Reviewed

    Description

      RS might get stuck because of  HBASE-14317. I met same problem in my hbase, and HBASE-14317 can solve this problmen very well.

      But I don't get stuck when I run TestWalLockup.testLockupWhenSyncInMiddleOfZigZagSetup.
      We'll never see stuck in this test case, because FailedSyncBeforeLogCloseException will break zigzagLatch.waitSafePoint(SyncFuture). Finally, zigzagLatch.releaseSafePoint() will be call, and attainSafePoint(long) get out stuck.

       Here, we add a new test case to simulate stuck RS correctly.

      Attachments

        1. HBASE-20107-v1.patch
          6 kB
          Zephyr Guo
        2. HBASE-20107-v2.patch
          6 kB
          Zephyr Guo

        Activity

          People

            gzh1992n Zephyr Guo
            gzh1992n Zephyr Guo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: