jonahgao opened a new pull request, #3161:
URL: https://github.com/apache/kvrocks/pull/3161

   When fetching files, we verify the file checksum only if the expected CRC is 
not 0.
   
https://github.com/apache/kvrocks/blob/db0cbec060bb9d1e71a6942bba354b4b280a40f2/src/cluster/replication.cc#L1053-L1056
   
   
   So when the expected CRC is 0, there is no need to calculate the file’s CRC.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to