Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db: save level iter debug output before closing
Currently, if the level checker encounters a violation an the iterator for the last level has been closed, the debug string providing information on the level and the file is lost. Save the debug string for potential use after the iterator is closed. ``` // Before checker failed with error: found InternalKey zzqwavxgrec@12#4092,SINGLEDEL in L0.2: fileNum=000830 and InternalKey zzqwavxgrec@12#4627,DEL in %!s(<nil>) // After checker failed with error: found InternalKey zzqwavxgrec@12#4092,SINGLEDEL in L0.2: fileNum=000830 and InternalKey zzqwavxgrec@12#4627,DEL in L6: fileNum=000997 ``` Related to #1459.
- Loading branch information