JackAuFull opened a new issue, #10871:
URL: https://github.com/apache/iotdb/issues/10871

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and 
found nothing similar.
   
   
   ### Version
   
   1.1.2
   
   ### Describe the bug and provide the minimal reproduce step
   
   本地环境:
     系统:win11,
     cpu:i5 13400
     系统总内存:32G
     iotdb版本:1.1.2
   iotdb server配置:
     confignode:
       MAX_HEAP_SIZE=3072M
       cn_internal_address=192.168.1.131
       cn_target_config_node_list=192.168.1.131:10710
     datanode:
       MAX_HEAP_SIZE=3072M
       dn_rpc_address=192.168.1.131
       dn_internal_address=192.168.1.131
       dn_target_config_node_list=192.168.1.131:10710
     iotdb-common:
     admin_name=xxx
     admin_password=xxx
     enable_auto_create_schema=false
     enable_last_cache=false
     query_timeout_threshold=120000
     ip_white_list=127.0.0.1/32,192.168.1.131
     enable_discard_out_of_order_data=true
     timestamp_precision=us
     time_partition_interval=31536000000
   
   
8月15日下午我使用java原生接口方式执行SessionPool#insertAlignedRecordsOfOneDevice方法把mysql数据循环插入到我本地windows版本的iotdb
 
1.1.2中,每次循环插入10000条record,期间运行了几个小时,我下午18:30看时还是正常插入的,等8月16日早上9:30看时插入方法已经执行完毕,接着我用SELECT
 count(imei) from 
root.bms.pi.pi_2022查询的是3563534(imei在mysql中是非null字段,一定有值,可以统计到),这个时候我发现不对劲,因为按照我的java代码来说应该要插入2000万多一点的record才对,但是实际只插入了3563534条record,然后我把8月15日的插入方法在运行了一段时间,预计应该再插入5w条数据,然后我用SELECT
 count(imei) from 
root.bms.pi.pi_2022查询发现record的条数还是3563534(time时间戳是微秒,总共16位,最后6位是随机生成的,不可能全部和已有的时间戳一样,可以排除掉时间戳相同会覆
 盖的情况)。最后,我把iotdb 
server端重启,先查询time为1637953692485879的数据不存在,接着手动插入一条time为1637953692485879的record,插入完毕后再查询一次time为1637953692485879的数据,发现还是没有,也就是没有插入成功,log_datanode_all.log的日志从8月15日我开始插入数据后到8月16日都没有一个ERROR的日志。
   图片如下:
   
![企业微信截图_16921578463946](https://github.com/apache/iotdb/assets/49433691/a9dd5d05-6e44-4445-ac4c-cf7dab2113ac)
   
![企业微信截图_1692157923228](https://github.com/apache/iotdb/assets/49433691/a8c788fa-0a5e-4208-8f94-1281045ed97c)
   
![企业微信截图_16921579591480](https://github.com/apache/iotdb/assets/49433691/c9896f3e-5673-4b7e-a0ae-92a1ffd8fca4)
   
   
   ### What did you expect to see?
   
   希望能找出是什么问题导致的
   
   ### What did you see instead?
   
   如上图
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to