cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Brown (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-14094) Avoid pointless calls to ThreadLocalRandom
Date Tue, 05 Dec 2017 09:53:00 GMT

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

Jason Brown updated CASSANDRA-14094:
------------------------------------
    Reviewer: Jason Brown

> 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.x, 3.11.x, 4.x
>
>
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message