Skip to content
  • anand76's avatar
    Implement deadline support for MultiGet (#6710) · c1ccd6b6
    anand76 authored
    Summary:
    Initial implementation of ReadOptions.deadline for MultiGet. If the request takes longer than the deadline, the keys not yet found will be returned with Status::TimedOut(). This
    implementation enforces the deadline in DBImpl, which is fairly high
    level. Its best effort and may not check the deadline after every key
    lookup, but may do so after a batch of keys.
    
    In subsequent stages, we will extend this to passing a timeout down to the FileSystem.
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/6710
    
    Test Plan: Add new unit tests
    
    Reviewed By: riversand963
    
    Differential Revision: D21149158
    
    Pulled By: anand1976
    
    fbshipit-source-id: 9f44eecffeb40873f5034ed59a66d21f9f88879e
    c1ccd6b6