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

CellComparator#compare returns incorrect result for faked KeyValue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.95.0
    • 0.98.0, 0.95.2
    • None
    • None
    • Reviewed

    Description

      I found the scan will be in a forever loop when using PREFIX_TREE DataBlockEncoding.

      And found the root cause is:
      CellComparator#compare returns incorrect result for faked KeyValue.

      Patch is simple...

      Provide a rude test case to verify

      Attachments

        1. 8433-test.patch
          3 kB
          Chunhui Shen
        2. hbase-trunk-8433v1.patch
          1 kB
          Chunhui Shen
        3. hbase-trunk-8433v1.txt
          1 kB
          Chunhui Shen

        Activity

          People

            zjushch Chunhui Shen
            zjushch Chunhui Shen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: