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

The log rolling request maybe canceled immediately in LogRoller due to a race

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.3.0, 2.0.6, 2.2.1, 2.1.6
    • Component/s: wal
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Copy the comments in HBASE-22681.

      OK, found another problem in LogRoller, where the rollLog flag is set to false at the end of the run method, right after we set it to true in the logRollRequested method. This cause my test fail after I fixed the unackedAppends problem.

        Attachments

        1. HBASE-22684-v1.patch
          24 kB
          Duo Zhang
        2. HBASE-22684.patch
          24 kB
          Duo Zhang
        3. HBASE-22665-UT.patch
          7 kB
          Duo Zhang

          Issue Links

            Activity

              People

              • Assignee:
                zhangduo Duo Zhang
                Reporter:
                zhangduo Duo Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: