[
https://issues.apache.org/jira/browse/CASSANDRA-15674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17094973#comment-17094973
]
David Capwell edited comment on CASSANDRA-15674 at 4/29/20, 2:14 AM:
---------------------------------------------------------------------
Patches per version
||branch||link||CI|CI Results|
|trunk|[Git Hub PR|https://github.com/apache/cassandra/pull/500]|[Circle
CI|https://app.circleci.com/pipelines/github/dcapwell/cassandra?branch=bug%2FnegativeDiskSpace]|UNKNOWN|
|3.11|[Git
Hub|https://github.com/dcapwell/cassandra/tree/bug/negativeDiskSpace-3.11]|[Circle
CI|https://app.circleci.com/pipelines/github/dcapwell/cassandra?branch=bug%2FnegativeDiskSpace-3.11]|GREEN|
|3.0|[Git
Hub|https://github.com/dcapwell/cassandra/tree/bug/negativeDiskSpace-3.0]|[Circle
CI|https://app.circleci.com/pipelines/github/dcapwell/cassandra?branch=bug%2FnegativeDiskSpace-3.0]|
was (Author: dcapwell):
Patches per version
||branch||link||CI|
|trunk|[Git Hub PR|https://github.com/apache/cassandra/pull/500]|[Circle
CI|https://app.circleci.com/pipelines/github/dcapwell/cassandra?branch=bug%2FnegativeDiskSpace]|
|3.11|[Git
Hub|https://github.com/dcapwell/cassandra/tree/bug/negativeDiskSpace-3.11]|[Circle
CI|https://app.circleci.com/pipelines/github/dcapwell/cassandra?branch=bug%2FnegativeDiskSpace-3.11]|
|3.0|[Git
Hub|https://github.com/dcapwell/cassandra/tree/bug/negativeDiskSpace-3.0]|[Circle
CI|https://app.circleci.com/pipelines/github/dcapwell/cassandra?branch=bug%2FnegativeDiskSpace-3.0]|
> liveDiskSpaceUsed and totalDiskSpaceUsed get corrupted if
> IndexSummaryRedistribution gets interrupted
> -----------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-15674
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15674
> Project: Cassandra
> Issue Type: Bug
> Components: Local/Compaction, Observability/Metrics
> Reporter: David Capwell
> Assignee: David Capwell
> Priority: Normal
> Fix For: 4.0-alpha
>
>
> IndexSummaryRedistribution is a compaction task and as such extends Holder
> and supports cancelation by throwing a CompactionInterruptedException. The
> issue is that IndexSummaryRedistribution tries to use transactions, but
> mutates the sstable in-place; transaction is unable to roll back.
> This would be fine (only updates summary) if it wasn’t for the fact the task
> attempts to also mutate the two metrics liveDiskSpaceUsed and
> totalDiskSpaceUsed, since these can’t be rolled back any cancelation could
> corrupt these metrics.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]