rocksdb icon indicating copy to clipboard operation
rocksdb copied to clipboard

[DNM] Wal debug 6.29.tikv

Open tonyxuqqi opened this issue 1 year ago • 2 comments

To debug WAL corruption issues

tonyxuqqi avatar Mar 11 '24 19:03 tonyxuqqi

@tonyxuqqi What is the WAL recovery mode in tikv ? I guess that it should be kTolerateCorruptedTailRecords.

mittalrishabh avatar Mar 14 '24 06:03 mittalrishabh

which format is tikv using. Seems like rocksdb wal has two formats : legacy and recycle. Recycle format has more debug information (log number) . https://github.com/facebook/rocksdb/wiki/Write-Ahead-Log-File-Format

mittalrishabh avatar Mar 14 '24 06:03 mittalrishabh