Skip to content
  • anand76's avatar
    Fix a bug in looking up duplicate keys with MultiGet (#6953) · 1fb3593f
    anand76 authored
    Summary:
    When MultiGet is called with duplicate keys, and the key matches the
    largest key in an SST file and the value type is merge, only the first
    instance of the duplicate key is returned with correct results. This is
    due to the incorrect assumption that if a key in a batch is equal to the
    largest key in the file, the next key cannot be present in that file.
    
    Tests:
    Add a new unit test
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/6953
    
    Reviewed By: cheng-chang
    
    Differential Revision: D21935898
    
    Pulled By: anand1976
    
    fbshipit-source-id: a2cc327a15150e23fd997546ca64d1c33021cb4c
    1fb3593f
To find the state of this project's repository at the time of any of these versions, check out the tags.