Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Start a empty IoTDB, execute 3 sql:
SET STORAGE GROUP TO root.turbine; CREATE TIMESERIES root.turbine.d2.s0 WITH DATATYPE=DOUBLE, ENCODING=GORILLA; insert into root.turbine.d2(timestamp,s0) values(2,25.3);
Kill the server and restart, then you will see:
11:37:45.157 [pool-1-IoTDB-Recovery-Thread-Pool-thread-1] ERROR org.apache.iotdb.db.conf.adapter.ActiveTimeSeriesCounter - Storage group root.turbine- registers active time series root.turbine.d2.s0 failed11:37:45.157 [pool-1-IoTDB-Recovery-Thread-Pool-thread-1] ERROR org.apache.iotdb.db.conf.adapter.ActiveTimeSeriesCounter - Storage group root.turbine- registers active time series root.turbine.d2.s0 failedjava.lang.NullPointerException: null at org.apache.iotdb.db.conf.adapter.ActiveTimeSeriesCounter.offer(ActiveTimeSeriesCounter.java:65) at org.apache.iotdb.db.engine.flush.MemTableFlushTask.syncFlushMemTable(MemTableFlushTask.java:87) at org.apache.iotdb.db.writelog.recover.TsFileRecoverPerformer.redoLogs(TsFileRecoverPerformer.java:213) at org.apache.iotdb.db.writelog.recover.TsFileRecoverPerformer.recover(TsFileRecoverPerformer.java:143) at org.apache.iotdb.db.engine.storagegroup.StorageGroupProcessor.recoverSeqFiles(StorageGroupProcessor.java:294) at org.apache.iotdb.db.engine.storagegroup.StorageGroupProcessor.recover(StorageGroupProcessor.java:223) at org.apache.iotdb.db.engine.storagegroup.StorageGroupProcessor.<init>(StorageGroupProcessor.java:210) at org.apache.iotdb.db.engine.StorageEngine.lambda$new$0(StorageEngine.java:119) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)11:37:45.158 [pool-1-IoTDB-Recovery-Thread-Pool-thread-1] ERROR org.apache.iotdb.db.conf.adapter.ActiveTimeSeriesCounter - Update root.turbine- active ratio failedjava.lang.NullPointerException: null at org.apache.iotdb.db.conf.adapter.ActiveTimeSeriesCounter.updateActiveRatio(ActiveTimeSeriesCounter.java:79) at org.apache.iotdb.db.engine.flush.MemTableFlushTask.syncFlushMemTable(MemTableFlushTask.java:91) at org.apache.iotdb.db.writelog.recover.TsFileRecoverPerformer.redoLogs(TsFileRecoverPerformer.java:213) at org.apache.iotdb.db.writelog.recover.TsFileRecoverPerformer.recover(TsFileRecoverPerformer.java:143) at org.apache.iotdb.db.engine.storagegroup.StorageGroupProcessor.recoverSeqFiles(StorageGroupProcessor.java:294) at org.apache.iotdb.db.engine.storagegroup.StorageGroupProcessor.recover(StorageGroupProcessor.java:223) at org.apache.iotdb.db.engine.storagegroup.StorageGroupProcessor.<init>(StorageGroupProcessor.java:210) at org.apache.iotdb.db.engine.StorageEngine.lambda$new$0(StorageEngine.java:119) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
Attachments
Issue Links
- links to