cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Jake Luciani (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12366) Fix compaction throttle
Date Wed, 03 Aug 2016 16:34:20 GMT


T Jake Luciani commented on CASSANDRA-12366:

I pushed an update to fix the compression ratio calc. Also, I noticed the way of calculating
the size read was broken for leveled compactions since we combine many sstables into the scanner.
 When a reader jumps from one sstable to another there may be big jumps which don't reflect
the actual read amount.

I also added this to cleanup, verify, gc compactions. 

> Fix compaction throttle
> -----------------------
>                 Key: CASSANDRA-12366
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Compaction
>            Reporter: T Jake Luciani
>            Assignee: T Jake Luciani
>             Fix For: 3.x
> Compaction throttling is broken in the following ways:
>   * It throttles bytes read after being decompressed
>   * Compaction creates multiple scanners which share the rate limiter causing too much
>   * It bears no resemblance to the reported compaction time remaining calculation (Bytes
of source sstables processed since start of compaction)
> To fix this we need to simplify the throttling to be only at the CompactionIterator level.

This message was sent by Atlassian JIRA

View raw message