Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
master branch, 0.13.0
-
None
-
2022-5-StorageEngine
Description
When flushing memtable appears OOM, the file will be corrupted with metadata only and cannot be repaired at the next restart. The result may be as following:
When an exception is caught in the flushing memtable, the following logic will be executed to call the TsFileIOWriter's endfile, causing the file to have only the metadata area but no data area. After the next restart, memTable is considered to have flushed properly and WAL is not used to restore tsfile.
Attachments
Attachments
Issue Links
- is related to
-
IOTDB-4512 Flush OOM cause corrupt TsFile
- Closed
- links to