[
https://issues.apache.org/jira/browse/HBASE-7619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Shelukhin updated HBASE-7619:
------------------------------------
Description:
The following StoreFiles exist: 100, 25, 12, and 12 bytes apiece (oldest to
newest). With the above parameters, the files that would be selected for minor
compaction are 23, 12, and 12.
Why?
100 --> No, because sum(25, 12, 12) * 1.0 = 47
25 --> No, because sum(12, 12) * 1.0 = 24
12 --> No. Candidate because sum(12) * 1.0 = 12, there are only 2 files to
compact and that is less than the threshold of 3
12 --> No. Candidate because the previous StoreFile was, but there are not
enough files to compact
> tiny correction in the book
> ---------------------------
>
> Key: HBASE-7619
> URL: https://issues.apache.org/jira/browse/HBASE-7619
> Project: HBase
> Issue Type: Bug
> Reporter: Sergey Shelukhin
> Assignee: Sergey Shelukhin
> Priority: Trivial
> Attachments: HBASE-7619-v0.patch
>
>
> The following StoreFiles exist: 100, 25, 12, and 12 bytes apiece (oldest to
> newest). With the above parameters, the files that would be selected for
> minor compaction are 23, 12, and 12.
> Why?
> 100 --> No, because sum(25, 12, 12) * 1.0 = 47
> 25 --> No, because sum(12, 12) * 1.0 = 24
> 12 --> No. Candidate because sum(12) * 1.0 = 12, there are only 2 files
> to compact and that is less than the threshold of 3
> 12 --> No. Candidate because the previous StoreFile was, but there are
> not enough files to compact
--
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