刘珍 created IOTDB-3751:
-------------------------

             Summary: [ Concurrent delete timeseries ] 
org.apache.iotdb.db.exception.BatchProcessException: Batch process 
failed:[TSStatus(code:304, message:Path [..] does not exist)]
                 Key: IOTDB-3751
                 URL: https://issues.apache.org/jira/browse/IOTDB-3751
             Project: Apache IoTDB
          Issue Type: Improvement
          Components: Core/Schema Manager, mpp-cluster
            Reporter: 刘珍
            Assignee: ZhaoXin


sf_tree_seg分支 eadb383df889a7040b30f75ee443c2a8552856d5 
单机版
10并发如下操作(完整的脚本见附件delete_dev.sh)
${iotdb_dir}/sbin/start-cli.sh -e "delete timeseries 
root.test.g_85.test.schema_t.d_185.**;" &
${iotdb_dir}/sbin/start-cli.sh -e "delete timeseries 
root.test.g_85.test.schema_t.d_285.**;" &
${iotdb_dir}/sbin/start-cli.sh -e "delete timeseries 
root.test.g_86.test.schema_t.d_186.**;" &
${iotdb_dir}/sbin/start-cli.sh -e "delete timeseries 
root.test.g_86.test.schema_t.d_286.**;" &
${iotdb_dir}/sbin/start-cli.sh -e "delete timeseries 
root.test.g_87.test.schema_t.d_187.**;" &
${iotdb_dir}/sbin/start-cli.sh -e "delete timeseries 
root.test.g_87.test.schema_t.d_287.**;" &
${iotdb_dir}/sbin/start-cli.sh -e "delete timeseries 
root.test.g_88.test.schema_t.d_188.**;" &
${iotdb_dir}/sbin/start-cli.sh -e "delete timeseries 
root.test.g_88.test.schema_t.d_288.**;" &
${iotdb_dir}/sbin/start-cli.sh -e "delete timeseries 
root.test.g_89.test.schema_t.d_189.**;" &
${iotdb_dir}/sbin/start-cli.sh -e "delete timeseries 
root.test.g_89.test.schema_t.d_289.**;" &
wait


2022-07-05 11:58:55,325 [pool-116-IoTDB-RPC-Client-69] WARN  
o.a.i.d.u.ErrorHandlingUtils:156 - Exception occurred while processing 
non-query.
org.apache.iotdb.db.exception.BatchProcessException: Batch process 
failed:[TSStatus(code:304, message:Path 
[root.test.g_85.test.schema_t.d_185.s_100792] does not exist)]
        at 
org.apache.iotdb.db.qp.executor.PlanExecutor.deleteTimeSeries(PlanExecutor.java:2119)
        at 
org.apache.iotdb.db.qp.executor.PlanExecutor.processNonQuery(PlanExecutor.java:338)
        at 
org.apache.iotdb.db.service.basic.StandaloneServiceProvider.executeNonQuery(StandaloneServiceProvider.java:53)
        at 
org.apache.iotdb.db.service.thrift.impl.TSServiceImpl.executeNonQueryPlan(TSServiceImpl.java:2108)
        at 
org.apache.iotdb.db.service.thrift.impl.TSServiceImpl.executeNonQueryStatement(TSServiceImpl.java:1111)
        at 
org.apache.iotdb.db.service.thrift.impl.TSServiceImpl.executeUpdateStatement(TSServiceImpl.java:1104)
        at 
org.apache.iotdb.db.service.thrift.impl.TSServiceImpl.executeStatement(TSServiceImpl.java:624)
        at 
org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatement.getResult(IClientRPCService.java:2853)
        at 
org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatement.getResult(IClientRPCService.java:2833)
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:38)
        at 
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:248)
        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)

复现流程
1. 192.168.10.64 72C256G
元数据备份:
/data/liuzhen_test/schema_file_0629/v2/datanode/bk_2022-07-04_15_56_45_20client_schema_file/data

2. 启动1中的数据备份,执行
delete_dev.sh
iotdb有warn.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to