[ 
https://issues.apache.org/jira/browse/CASSANDRA-14094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Jirsa updated CASSANDRA-14094:
-----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 3.11.x)
                       (was: 4.x)
                       (was: 3.0.x)
                   4.0
                   3.11.2
                   3.0.16
           Status: Resolved  (was: Ready to Commit)

Thanks Jason, committed as {{b885e9c0547709152b5a118af30508bf287d3844}} to 3.0 
and merged up to 3.11 and trunk.


> Avoid pointless calls to ThreadLocalRandom
> ------------------------------------------
>
>                 Key: CASSANDRA-14094
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14094
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jeff Jirsa
>            Assignee: Jeff Jirsa
>            Priority: Minor
>             Fix For: 3.0.16, 3.11.2, 4.0
>
>
> In the compression paths, we probabilistically validate the checksum. In 
> cases where the chance is 100%, we don’t need to call {{ThreadLocalRandom}} .



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to