[
https://issues.apache.org/jira/browse/CASSANDRA-15597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jon Haddad updated CASSANDRA-15597:
-----------------------------------
Fix Version/s: (was: 4.0)
4.0-alpha
Source Control Link:
https://github.com/apache/cassandra/commit/c5eb532b63e80bb976d9dfdd4aa1c76f27f726e5
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
Committed, thanks!
> Correct Visibility and Improve Safety of Methods in LatencyMetrics
> ------------------------------------------------------------------
>
> Key: CASSANDRA-15597
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15597
> Project: Cassandra
> Issue Type: Improvement
> Components: Observability/Metrics
> Reporter: Jordan West
> Assignee: Jeff
> Priority: Normal
> Fix For: 4.0-alpha
>
>
> * add/removeChildren does not need to be public (and exposing addChildren is
> unsafe since no lock is used).
> * casting in the constructor is safer than casting each time in removeChildren
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]