• V
    Fixing snapshot 0 assertion · e5c614e1
    Victor Tyutyunov 提交于
    Summary:
    Solution is not to change db sequence number to start from 1 because 0 value is used in multiple other places.
    Fix covers only compact_iterator::findEarliestVisibleSnapshot with updated logic to support snapshot's numbering starting from 0.
    
    Test Plan:
    run:
      make all check
    
    it should pass all tests
    
    Reviewers: IslamAbdelRahman, sdong
    
    Reviewed By: sdong
    
    Subscribers: lgalanis, mgalushka, andrewkr, dhruba
    
    Differential Revision: https://reviews.facebook.net/D56601
    e5c614e1
db_test2.cc 30.0 KB