Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14094

Avoid pointless calls to ThreadLocalRandom

    XMLWordPrintableJSON

    Details

      Description

      In the compression paths, we probabilistically validate the checksum. In cases where the chance is 100%, we don’t need to call ThreadLocalRandom .

        Attachments

          Activity

            People

            • Assignee:
              jjirsa Jeff Jirsa
              Reporter:
              jjirsa Jeff Jirsa
              Authors:
              Jeff Jirsa
              Reviewers:
              Jason Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: