提交 8f2fc3b4 编写于 作者: 张凌哲 提交者: Jialin Qiao

add truncate

上级 7f35d50e
......@@ -677,6 +677,7 @@ public class TsFileProcessor {
}
if (targetFile.getName().endsWith(TSFILE_SUFFIX)) {
if (!isMergeFinished) {
writer.getIOWriterOut().truncate(offset - 1);
VmMergeUtils.fullMerge(writer, vmWriters,
storageGroupName,
new VmLogger(tsFileResource.getTsFile().getParent(),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册