• Z
    Use FileChecksumGenFactory for SST file checksum (#6600) · e8d332d9
    Zhichao Cao 提交于
    Summary:
    In the current implementation, sst file checksum is calculated by a shared checksum function object, which may make some checksum function hard to be applied here such as SHA1. In this implementation, each sst file will have its own checksum generator obejct, created by FileChecksumGenFactory. User needs to implement its own FilechecksumGenerator and Factory to plugin the in checksum calculation method.
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/6600
    
    Test Plan: tested with make asan_check
    
    Reviewed By: riversand963
    
    Differential Revision: D20717670
    
    Pulled By: zhichao-cao
    
    fbshipit-source-id: 2a74c1c280ac11a07a1980185b43b671acaa71c6
    e8d332d9
writable_file_writer.cc 13.3 KB