homework-jianmu/source/libs/wal
Benguang Zhao 7fb827debd fix: refactor walScanLogGetLastVer, walCheckAndRepairMeta, and walCheckAndRepairIdx.
* search for the last entry in the contiguous range of valid WAL from the last pos fsynced as firstTrial
    * find the last entry before the last pos fsynced backwards as second trial
    * reserve sufficient space for computing CRC32 checksum, esp. of WAL record body
    * rebuild meta info to resolve potential misalignment between lists of meta and actual log files
    * retract commitIndex and appliedIndex to lastLogIndex if needed
    * put an upper size limit on possibly corrupted WAL range to be recovered
2022-10-15 23:56:31 +08:00
..
inc fix coverity scan 2022-10-10 11:44:17 +08:00
src fix: refactor walScanLogGetLastVer, walCheckAndRepairMeta, and walCheckAndRepairIdx. 2022-10-15 23:56:31 +08:00
test ci: remove unstable case 2022-07-07 11:45:28 +08:00
CMakeLists.txt [TD-13254]<fix>: make 3.0 grant. 2022-04-10 19:08:16 +08:00