Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6291

FSImage may be left unclosed in BootstrapStandby#doRun()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 2.7.4, 3.0.0-alpha1
    • Component/s: ha
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      At around line 203:

            if (!checkLogsAvailableForRead(image, imageTxId, curTxId)) {
              return ERR_CODE_LOGS_UNAVAILABLE;
            }
      

      If we return following the above check, image is not closed.

        Attachments

        1. HDFS-6291.2.patch
          0.7 kB
          Sanghyun Yun
        2. HDFS-6291.patch
          0.6 kB
          Sanghyun Yun

          Issue Links

            Activity

              People

              • Assignee:
                yunsh Sanghyun Yun
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: