• yiwu-arbug's avatar
    Temp fix for data loss caused by concurrent flush (#96) · 0a3f87a2
    yiwu-arbug authored
    Summary:
    Temporary fix for #93. Fixing it by waiting until no flush is ongoing before starting a GC job. The drawback is GC can starve if flush runs so frequent that there's no gap between flush jobs.
    
    Test Plan:
    See the new test. The test will fail with "Corruption: Missing blob file" error before the fix.
    0a3f87a2
titan_db_test.cc 37.3 KB