You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Josh McKenzie (Jira)" <ji...@apache.org> on 2022/09/07 16:25:00 UTC

[jira] [Updated] (CASSANDRA-17851) Add interim prioritization logic for CompactionTasks

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

Josh McKenzie updated CASSANDRA-17851:
--------------------------------------
    Status: Ready to Commit  (was: Review In Progress)

> 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
>
> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org