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

includeMVCCReadpoint parameter in DefaultCompactor#createTmpWriter() represents no-op

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      Around line 160:

          return store.createWriterInTmp(fd.maxKeyCount, this.compactionCompression,
                  true, fd.maxMVCCReadpoint >= 0, fd.maxTagsLength >0);
      

      The condition, fd.maxMVCCReadpoint >= 0, represents no-op.

      The correct condition should be fd.maxMVCCReadpoint > 0

      Attachments

        1. 14173-v1.txt
          0.8 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: