Andrey Yarovoy created HDDS-14473:
-------------------------------------

             Summary: Freon should not use secure random for data generation
                 Key: HDDS-14473
                 URL: https://issues.apache.org/jira/browse/HDDS-14473
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Andrey Yarovoy


Freon should not use secure random for generating data for writing. The most 
efficient way of generating random data from multiple threads is 
ThreadLocalRandom.nextBytes().

 

Assuming that non of Ozone's components use compression or deduplication we can 
use repeating sequence of hash(filename) for writing data, it would allow us to 
validate data for reads.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to