Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17894 make sure all tests without unsafe pass
  3. HBASE-17897

StripeStoreFileManager#nonOpenRowCompare use the wrong comparison function

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

        private final int nonOpenRowCompare(byte[] k1, byte[] k2) {
          assert !isOpen(k1) && !isOpen(k2);
          return cellComparator.compareRows(new KeyOnlyKeyValue(k1), k2, 0, k2.length);
        }
      

      The inputs aren't KeyValue format, so it is wrong to use KeyOnlyKeyValue to parse the row.

      Attachments

        1. HBASE-17897.v0.patch
          2 kB
          Chia-Ping Tsai
        2. HBASE-17897.v0.patch
          2 kB
          Chia-Ping Tsai
        3. HBASE-17897.v0.patch
          2 kB
          Chia-Ping Tsai
        4. HBASE-17897.failed.patch
          1 kB
          Chia-Ping Tsai

        Activity

          People

            chia7712 Chia-Ping Tsai
            chia7712 Chia-Ping Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: