rocksdb/utilities/checkpoint
HypenZou 5bb7f95ed6 Don't take archived log size into account when calculating log size for flush (#12680)
Summary:
**Context/Summary:**
It seems unreasonable to take the archived log size into account when calculating log size **for flush** in method CreateCheckpoint. If the user sets WAL_ttl_seconds or WAL_size_limit_MB, the argument _log_size_for_flush_ can easily be reached due to the size of the archived dir. As a result, the flush may always be triggered.
**Test**
corverd by ./checkpoint_test

Pull Request resolved: https://github.com/facebook/rocksdb/pull/12680

Reviewed By: jaykorean

Differential Revision: D59097904

Pulled By: ajkr

fbshipit-source-id: 0ed29c1b078d8f40b85288541b008e00dbc517d3
2024-06-28 11:56:26 -07:00
..
checkpoint_impl.cc Fix/improve temperature handling for file ingestion (#12402) 2024-03-05 16:56:08 -08:00
checkpoint_impl.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
checkpoint_test.cc Don't take archived log size into account when calculating log size for flush (#12680) 2024-06-28 11:56:26 -07:00