• S
    Handle io_uring partial results (#6441) · 942eaba0
    sdong 提交于
    Summary:
    The logic that handles io_uring partial results was wrong. Fix the logic by putting it into a queue and continue reading.
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/6441
    
    Test Plan: Make sure this patch fixes the application test case where the bug was discovered; in env_test, add a unit test that simulates partial results and make sure the results are still correct.
    
    Differential Revision: D20018616
    
    fbshipit-source-id: 5398a7e34d74c26d52aa69dfd604e93e95d99c62
    942eaba0
io_posix.cc 40.8 KB