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

Tyler Hobbs commented on CASSANDRA-6109:
----------------------------------------

bq. We're mostly talking about prioritizing across different CFs, right?

Correct.

bq. What if we just made the compaction manager queue a priority queue instead 
of FIFO?

Yeah, that's what I'm trying to do, it's just that with the current behavior, 
we can't determine the priority when inserting the tasks into the queue because 
the sstables aren't picked until tasks are *removed* from the queue.

> Consider coldness in STCS compaction
> ------------------------------------
>
>                 Key: CASSANDRA-6109
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6109
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Tyler Hobbs
>             Fix For: 2.0.2
>
>
> I see two options:
> # Don't compact cold sstables at all
> # Compact cold sstables only if there is nothing more important to compact
> The latter is better if you have cold data that may become hot again...  but 
> it's confusing if you have a workload such that you can't keep up with *all* 
> compaction, but you can keep up with hot sstable.  (Compaction backlog stat 
> becomes useless since we fall increasingly behind.)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to