homework-jianmu/source
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
..
client fix: refactor walScanLogGetLastVer, walCheckAndRepairMeta, and walCheckAndRepairIdx. 2022-10-15 23:56:31 +08:00
common format more code 2022-10-13 11:56:16 +08:00
dnode fix: assert on availability of inUse SVBufPool for vnode 2022-10-14 22:58:56 +08:00
libs fix: refactor walScanLogGetLastVer, walCheckAndRepairMeta, and walCheckAndRepairIdx. 2022-10-15 23:56:31 +08:00
os fix: allow to restart on disk space full, e.g. in dmCheckDiskSpace 2022-10-14 22:57:27 +08:00
util fix: refactor walScanLogGetLastVer, walCheckAndRepairMeta, and walCheckAndRepairIdx. 2022-10-15 23:56:31 +08:00
CMakeLists.txt