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

            jjirsa Jeff Jirsa
            jjirsa Jeff Jirsa
            Jeff Jirsa
            Jason Brown
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: