cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Deng (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-4778) leveled compaction does less work in L0 than intended
Date Thu, 21 Jul 2016 05:57:20 GMT

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

Wei Deng updated CASSANDRA-4778:
--------------------------------
    Labels: compaction lcs  (was: compaction)

> leveled compaction does less work in L0 than intended
> -----------------------------------------------------
>
>                 Key: CASSANDRA-4778
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4778
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.2
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>              Labels: compaction, lcs
>             Fix For: 1.1.6
>
>         Attachments: 4778.txt
>
>
> We have this code in the candidate loop:
> {code}
> .               if (SSTable.getTotalBytes(candidates) > maxSSTableSizeInBytes)
>                 {
>                     // add sstables from L1 that overlap candidates
>                     candidates.addAll(overlapping(candidates, generations[1]));
>                     break;
>                 }
> {code}
> thus, as soon as we have enough to compact to make one L1 sstable's worth of data, we
stop collecting candidates.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message