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

TestProcedureMember#testMemberCommitException, testSimpleRun & testMemberCommitCommsFailure are flaky on Suse OS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.95.2, 0.96.0
    • test
    • None
    • Reviewed

    Description

      The failures are due to a race condition that sub procedure could finish before the sub procedure is added into internal map ProcedureMember#subprocs. Below is the related code:

            future = this.pool.submit(subproc);
            synchronized (subprocs) {
              subprocs.put(procName, subproc);
            }
      

      As you can see the above, that subproc could finish before

      subprocs.put(procName, subproc);

      . Therefore, the test will fail with the following error message:

      procedure.ProcedureMember(189): Unexpected reached glabal barrier message for Sub-Procedure 'some op'
      

      Attachments

        1. hbase-9324.patch
          1.0 kB
          Jeffrey Zhong

        Activity

          People

            jeffreyz Jeffrey Zhong
            jeffreyz Jeffrey Zhong
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: