[
https://issues.apache.org/jira/browse/CASSANDRA-19571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Muzafarov updated CASSANDRA-19571:
----------------------------------------
Fix Version/s: 5.x
> Avoid ConcurrentModificationException when removing metrics from
> CassandraMetricsRegistry
> -----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-19571
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19571
> Project: Cassandra
> Issue Type: Bug
> Reporter: Marcus Eriksson
> Assignee: Maxim Muzafarov
> Priority: Normal
> Fix For: 5.x
>
>
> Multiple threads can modify the lists in {{CassandraMetricsRegistry}}
> {{ALIASES}} map values. We have seen this CME when removing metrics, but
> could possibly affect other paths using those lists
> Adding a small delay (10ms) when map:ing to {{getMetricName}} in
> {{CassandraMetricsRegistry.remove(name)}} makes this reproduce when running
> {{TransientRangeMovementTest.testLeave}}
> Caused by CASSANDRA-14572
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]