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)
68888 of 122143 branches covered (56.4%)
15 of 16 new or added lines in 2 files covered. (93.75%)
30 existing lines in 13 files now uncovered.101573 of 116214 relevant lines covered (87.4%)
1962548.2 hits per line