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)
63513 of 114848 branches covered (55.3%)
15 of 16 new or added lines in 2 files covered. (93.75%)
18 existing lines in 7 files now uncovered.94443 of 109704 relevant lines covered (86.09%)
1900676.91 hits per line