[
https://issues.apache.org/jira/browse/HBASE-15665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245470#comment-15245470
]
Duo Zhang commented on HBASE-15665:
-----------------------------------
[~clarax98007] This can remove the extra sort in DateTieredCompactionPolicy.
And this comparator will also be used to sort filesCompacting, which can be
more reliable if we want to check overlapping when archiving.
Thanks.
> Support using different StoreFileComparators for different CompactionPolicies
> -----------------------------------------------------------------------------
>
> Key: HBASE-15665
> URL: https://issues.apache.org/jira/browse/HBASE-15665
> Project: HBase
> Issue Type: Sub-task
> Components: Compaction
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Attachments: HBASE-15665.patch
>
>
> Now for DateTieredCompactionPolicy, if we output multiple files when
> compaction, we will use the same max sequence id for all the output files(see
> HBASE-15389 for more details). So we need to sort the store files by
> timestamp if they have the same max sequence id which is different from the
> original store file comparator.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)