[ https://issues.apache.org/jira/browse/CASSANDRA-19571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17838722#comment-17838722 ]
Marcus Eriksson commented on CASSANDRA-19571: --------------------------------------------- cc [~mmuzaf] > 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 > Priority: Normal > > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org