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

Chris Lohfink commented on CASSANDRA-14388:
-------------------------------------------

I like the alternative personally
{quote}An alternative would be to check if there is more than 32 
({{MAX_COMPACTING_L0}}) sstables in L0, if so, grab {{max_threshold}} sstables 
and run STCS on them
{quote}
Thinking mostly for cases when its critically far behind (ie 50k in L0) and a 
lot are tiny (from bad repairs), just want to quickly reduce the number of 
them. The {{MAX_COMPACTING_L0}} I think makes sense for normal use, but when 
theres a huge backlog just want STCS to chew up backlog faster than 32 at a 
time. But if increase L0 max compacting to 1000 it may not kick off STCS until 
already negatively impacting things.

Might be nice to have {{MAX_COMPACTING_L0}} as another table option but that 
could be done another ticket.

> Fix setting min/max compaction threshold with LCS
> -------------------------------------------------
>
>                 Key: CASSANDRA-14388
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14388
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Major
>             Fix For: 4.x
>
>
> To be able to actually set max/min_threshold in compaction options we need to 
> remove it from the options map when validating.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to