Skip to content
  • shamdor's avatar
    WAL log retention policy based on archive size. · c2be2cba
    shamdor authored
    Archive cleaning will still happen every WAL_ttl seconds
    but archived logs will be deleted only if archive size
    is greater then a WAL_size_limit value.
    Empty archived logs will be deleted evety WAL_ttl.
    Test Plan:
    1. Unit tests pass.
    2. Benchmark.
    Reviewers: emayanke, dhruba, haobo, sdong, kailiu, igor
    Reviewed By: emayanke
    CC: leveldb
    Differential Revision: