• Y
    Fix perf_context.user_key_comparison_count for range scan (#5098) · d6924158
    Yi Wu 提交于
    Summary:
    Currently `perf_context.user_key_comparison_count` is bump only in `InternalKeyComparator`. For places user comparator is used directly the counter is not bump. Fixing the majority of it.
    
    Index iterator and filter code also use user comparator directly and don't bump the counter. It is not fixed in this patch.
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/5098
    
    Differential Revision: D14603753
    
    Pulled By: siying
    
    fbshipit-source-id: 1cd41035644ca9e49b97a51030a5d1e15f5f3cae
    d6924158
db_iter.cc 54.3 KB