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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha-3
    • 2.0.0-beta-1, 2.0.0-alpha-4, 2.0.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: