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

Comparators passed to the Memstore's flattened segments seems to be wrong

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha-3
    • Fix Version/s: 2.0.0-beta-1, 2.0.0-alpha-4, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      While doing HBASE-18945 found that the comparators passed to the CellChunkImmutableSegment and CellArrayImmutableSegment are sometimes wrong. We pass the comparator that we got from the Store but when doing reinitializeCellSet we always use CellComparator.COMPARATOR.
      From code I don think we are stopping the META region to also go through CompactingMemstore. If we do that then this JIRA is invalid. But considering that is not the case we should fix it and pass the right comparator.

        Attachments

        1. HBASE-18992.patch
          2 kB
          ramkrishna.s.vasudevan

          Issue Links

            Activity

              People

              • Assignee:
                ram_krish ramkrishna.s.vasudevan
                Reporter:
                ram_krish ramkrishna.s.vasudevan
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: