adoroszlai opened a new pull request #141: HDDS-2458. Avoid list copy in 
ChecksumData
URL: https://github.com/apache/hadoop-ozone/pull/141
 
 
   ## What changes were proposed in this pull request?
   
   Create `ChecksumData` with checksum list, instead of updating it right after 
creation, to avoid unnecessarily copying the list.
   
   https://issues.apache.org/jira/browse/HDDS-2458
   
   ## How was this patch tested?
   
   Tested on 3-node cluster with a 120MB key.  `ozone sh key get` verifies the 
checksum.
   
   ```
   ozone freon ockg -p test -t 1 -n 1 # easy volume and bucket creation ;)
   cat share/ozone/lib/*jar > tmp.jar
   ozone sh key put vol1/bucket1/test/large tmp.jar
   ozone sh key get vol1/bucket1/test/large tmp.jar.out
   diff -q tmp.jar tmp.jar.out
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to