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

Josh McKenzie updated CASSANDRA-17851:
--------------------------------------
          Fix Version/s: 4.2
    Source Control Link: 
https://gitbox.apache.org/repos/asf?p=cassandra.git;a=commit;h=377e114cb1459895423c292cb0bf7f921fd30e43
             Resolution: Fixed
                 Status: Resolved  (was: Ready to Commit)

> Add interim prioritization logic for CompactionTasks
> ----------------------------------------------------
>
>                 Key: CASSANDRA-17851
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17851
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/Compaction
>            Reporter: Josh McKenzie
>            Assignee: Josh McKenzie
>            Priority: Normal
>             Fix For: 4.2
>
>
> While ultimately we could serve to have a real scheduler and single entry 
> point for compactions, for now some moderate progress seems in order. There 
> are cases where, during expansions, you can end up in a state where you can't 
> finish upgrading sstables as they keep getting aborted by Incremental Repair 
> and other operations that ultimately should be lower priority and not have 
> the ability to cancel these operations.
>  The idea here is that tasks like {{upgradestables}} and {{cleanup}} (and 
> other tasks that have the same priority) will get serialised since 
> {{markAllCompacting}} is synchronising on data, and higher priority tasks 
> will be able to still cancel others via {{runWithCompactionsDisabled}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to