[ 
https://issues.apache.org/jira/browse/HBASE-7603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570504#comment-13570504
 ] 

Ted Yu commented on HBASE-7603:
-------------------------------

Saw the following which basically moves the sorting to the setter:
{code}
+  private void setStoreFiles(List<StoreFile> storeFiles) {
+    Collections.sort(storeFiles, StoreFile.Comparators.SEQ_ID);
{code}
It would be nice to name the above method: sortAndSetStoreFiles()
                
> refactor storefile management in HStore in order to support things like 
> LevelDB-style compactions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-7603
>                 URL: https://issues.apache.org/jira/browse/HBASE-7603
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Compaction
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7603-v0.patch, HBASE-7603-v1.patch, 
> HBASE-7603-v2.patch, HBASE-7603-v2.patch, HBASE-7603-v3.patch, 
> HBASE-7603-v4.patch, HBASE-7603-v5.patch, HBASE-7603-v6.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to