push
github
wal: use existing logs sizes after restart During the `checkpoint_wal_threshold` exceedance checks tarantool used to ignore the sizes of files created prior to the server restart which resulted in cases when the server didn't create any checkpoints and generate a huge amount of logs which were replayed each server restart. Now the `wal_dir` is scanned for proper `writer->checkpoint_wal_size` calculation after the recovery process. Fixes #9811 NO_DOC=bugfix (cherry picked from commit f1ccb2f14)
69897 of 123797 branches covered (56.46%)
15 of 16 new or added lines in 2 files covered. (93.75%)
58 existing lines in 20 files now uncovered.102911 of 117681 relevant lines covered (87.45%)
2184397.49 hits per line