• A
    Provide users with option to opt-in to get corrupt data in logs/messages (#7420) · 9d212d3f
    Akanksha Mahajan 提交于
    Summary:
    Add a new Option "allow_data_in_errors". When it's set by users, it allows them to opt-in to get error messages containing corrupted keys/values. Corrupt keys, values will be logged in the messages, logs, status etc. that will help users with the useful information regarding affected data.
    By default value is set false to prevent users data to be exposed in the messages.
    
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/7420
    
    Test Plan:
    1. make check -j64
               2. Add a new test case
    
    Reviewed By: ajkr
    
    Differential Revision: D23835028
    
    Pulled By: akankshamahajan15
    
    fbshipit-source-id: 8d2eba8fb898e79fcf1fccc07295065a75eb59b1
    9d212d3f
db_options.cc 39.0 KB