You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Kaifeng Xue (Jira)" <ji...@apache.org> on 2022/03/23 02:49:00 UTC
[jira] [Commented] (IOTDB-2787) [Aligned timeseries] pool-4-IoTDB-Flush : meet error when flushing a memtable, change system mode to read-only
[ https://issues.apache.org/jira/browse/IOTDB-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510980#comment-17510980 ]
Kaifeng Xue commented on IOTDB-2787:
------------------------------------
Aligned mem chunk is not synchronized properly
> [Aligned timeseries] pool-4-IoTDB-Flush : meet error when flushing a memtable, change system mode to read-only
> ---------------------------------------------------------------------------------------------------------------
>
> Key: IOTDB-2787
> URL: https://issues.apache.org/jira/browse/IOTDB-2787
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Core/Server
> Affects Versions: 0.13.0
> Reporter: 刘珍
> Assignee: Jialin Qiao
> Priority: Major
> Attachments: rw_is_overflow.config.properties
>
>
> 0.13.0 rc1
> 问题描述:
> 对齐序列,有乱序,读写混合操作:
> 2022-03-22 22:30:06,942 [pool-4-IoTDB-Flush-18] ERROR o.a.i.d.e.s.TsFileProcessor:1028 - root.test.g_9/0: 1647959393316-83-0-0.tsfile meet error when flushing a memtable, change system mode to read-only
> java.lang.NullPointerException: null
> at org.apache.iotdb.db.utils.datastructure.AlignedTVList.setToSorted(AlignedTVList.java:623)
> at org.apache.iotdb.db.utils.datastructure.TVList.merge(TVList.java:450)
> at org.apache.iotdb.db.utils.datastructure.TVList.sort(TVList.java:357)
> at org.apache.iotdb.db.utils.datastructure.TVList.sort(TVList.java:355)
> at org.apache.iotdb.db.utils.datastructure.TVList.sort(TVList.java:355)
> at org.apache.iotdb.db.utils.datastructure.TVList.sort(TVList.java:356)
> at org.apache.iotdb.db.utils.datastructure.AlignedTVList.sort(AlignedTVList.java:568)
> at org.apache.iotdb.db.engine.memtable.AlignedWritableMemChunk.sortTVList(AlignedWritableMemChunk.java:236)
> at org.apache.iotdb.db.engine.memtable.AlignedWritableMemChunk.sortTvListForFlush(AlignedWritableMemChunk.java:242)
> at org.apache.iotdb.db.engine.flush.MemTableFlushTask.syncFlushMemTable(MemTableFlushTask.java:123)
> at org.apache.iotdb.db.engine.storagegroup.TsFileProcessor.flushOneMemTable(TsFileProcessor.java:1017)
> at org.apache.iotdb.db.engine.flush.FlushManager$FlushThread.runMayThrow(FlushManager.java:131)
> at org.apache.iotdb.db.concurrent.WrappedRunnable.run(WrappedRunnable.java:32)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> 2022-03-22 22:30:06,944 [pool-4-IoTDB-Flush-18] ERROR o.a.i.d.e.s.TsFileProcessor:1035 - root.test.g_9/0: 1647959393316-83-0-0.tsfile IOTask meets error, truncate the corrupted data
> java.lang.NullPointerException: null
> at org.apache.iotdb.db.utils.datastructure.AlignedTVList.setToSorted(AlignedTVList.java:623)
> at org.apache.iotdb.db.utils.datastructure.TVList.merge(TVList.java:450)
> at org.apache.iotdb.db.utils.datastructure.TVList.sort(TVList.java:357)
> at org.apache.iotdb.db.utils.datastructure.TVList.sort(TVList.java:355)
> at org.apache.iotdb.db.utils.datastructure.TVList.sort(TVList.java:355)
> at org.apache.iotdb.db.utils.datastructure.TVList.sort(TVList.java:356)
> at org.apache.iotdb.db.utils.datastructure.AlignedTVList.sort(AlignedTVList.java:568)
> at org.apache.iotdb.db.engine.memtable.AlignedWritableMemChunk.sortTVList(AlignedWritableMemChunk.java:236)
> at org.apache.iotdb.db.engine.memtable.AlignedWritableMemChunk.sortTvListForFlush(AlignedWritableMemChunk.java:242)
> at org.apache.iotdb.db.engine.flush.MemTableFlushTask.syncFlushMemTable(MemTableFlushTask.java:123)
> at org.apache.iotdb.db.engine.storagegroup.TsFileProcessor.flushOneMemTable(TsFileProcessor.java:1017)
> at org.apache.iotdb.db.engine.flush.FlushManager$FlushThread.runMayThrow(FlushManager.java:131)
> at org.apache.iotdb.db.concurrent.WrappedRunnable.run(WrappedRunnable.java:32)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> 配置文件见附件。
--
This message was sent by Atlassian Jira
(v8.20.1#820001)