[
https://issues.apache.org/jira/browse/CASSANDRA-16192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mohamed Zafraan updated CASSANDRA-16192:
----------------------------------------
Impacts: None
Test and Documentation Plan:
Compaction Metrics were divided into three categories for testing:
1. testSimpleCompactionMetricsForCompletedTasks:
(totalCompactionsCompleted, completedTasks, bytesCompacted)
2. testCompactionMetricsForPendingTasks:
(pendingTasks, pendingTasksByTableName)
3. testCompactionMetricsForFailedTasks:
(compactionsAborted, compactionsReduced, sstablesDropppedFromCompactions)
Test 2 and 3 make use of TestCompactionTask written in the same class to
trigger metrics for workflows for pending tasks and aborted sstables during
compaction.
The class was written so we did not have to simulate scenarios were compactions
requests were stalled or disk was full.
Status: Patch Available (was: In Progress)
> Add more tests to cover compaction metrics
> ------------------------------------------
>
> Key: CASSANDRA-16192
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16192
> Project: Cassandra
> Issue Type: Improvement
> Components: Test/unit
> Reporter: Benjamin Lerer
> Assignee: Mohamed Zafraan
> Priority: Normal
> Fix For: 4.0-beta
>
> Attachments: 0001-added-unit-tests-to-cover-compaction-metrics.patch
>
>
> Some compaction metrics do not seems to be tested.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]