THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The log is logged as below(the log operation is marked as orange).
- select the source file
- log the source file list one by one
- log `sequence` flag
- create the target file
- log the target file
- start merge process
- if finish merge a device, log (`device` `writer.offset`)
- if merge finished, generate *.resource file
- writer.endFile
- log `merge finished`
- delete source files
- delete the ${storagegroup}.compaction.log file
...
as the `merge finished` log is written before the source files is deleted, so the files may not be deletedeleted. The recover works as below.
...