Caleb Rackliffe created CASSANDRA-16707: -------------------------------------------
Summary: JmxHistogram#getRecentValues() is not thread-safe Key: CASSANDRA-16707 URL: https://issues.apache.org/jira/browse/CASSANDRA-16707 Project: Cassandra Issue Type: Bug Components: Observability/JMX Reporter: Caleb Rackliffe Published {{JmxHistogram}} instances do not protect their “last” field. This isn’t a hot path, and there is a multi-part calculation based on it in {{getRecentValues()}}, so we should probably just synchronize that method. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org