hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-18992) Comparators passed to the Memstore's flattened segments seems to be wrong
Date Thu, 12 Oct 2017 10:57:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-18992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

ramkrishna.s.vasudevan updated HBASE-18992:
    Attachment: HBASE-18992.patch

Simple patch. There is already a call to super(segment) which sets the comparator for that
segment. So we should use the same here while creating the flattened segments. Will try QA.

> Comparators passed to the Memstore's flattened segments seems to be wrong
> -------------------------------------------------------------------------
>                 Key: HBASE-18992
>                 URL: https://issues.apache.org/jira/browse/HBASE-18992
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-3
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0-beta-1
>         Attachments: HBASE-18992.patch
> 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.

This message was sent by Atlassian JIRA

View raw message