You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "István Tóth (Jira)" <ji...@apache.org> on 2019/08/28 15:36:00 UTC

[jira] [Created] (PHOENIX-5457) MetaTableAccessor.getMergeRegions() returns parent regions in random order

István Tóth created PHOENIX-5457:
------------------------------------

             Summary: MetaTableAccessor.getMergeRegions() returns parent regions in random order
                 Key: PHOENIX-5457
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5457
             Project: Phoenix
          Issue Type: Bug
            Reporter: István Tóth


The multi-region merge patch has changed the behaviour of the MetaTableAccessor.getMergeRegions() method. Earlier, the parent regions were returned in the same order that they were passed to mergeRegion().

The patch has changed this to return the regions in random order. To be more precise, the parent regions are stored in random order in Meta.

I propose storing and returning the parent regions in ascending order.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)