[PATCH v3 01/11] recovery: clean up WAL dir scan code

Konstantin Osipov kostja at tarantool.org
Thu Jul 19 10:08:22 MSK 2018


* Vladimir Davydov <vdavydov.dev at gmail.com> [18/07/14 23:50]:
>  - Remove extra scan of the WAL directory from local_recovery() - we
>    scan the directory in recovery_end_vclock() hence we can skip scan in
>    recover_remaining_wals() by passing scan_dir = false.
> 
>  - Rename recovery_end_vclock() to recovery_scan() to emphasize the fact
>    that this function scans the WAL directory. Write a comment to this
>    function.
> 
>  - Add comments to wal.c explaining why we scan the WAL directory there.

Pushed.


-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov



More information about the Tarantool-patches mailing list