TDengine
TDengine copied to clipboard
mqtt通过restful保存数据, 部分数据丢失
Bug Description
流程是这样的
- 生产端 循环300条记录publish 给MQTT
- MQTT 通过restful post给tdengine 做备份
- 消费端消费MQTT ,存入数据库
出现问题:
查询tdengine 丢失部分数据.
消费端查询数据完整.
Environment (please complete the following information):
- OS: [window server 2019]
- TDengine Version [3.0.7.1]
Additional Context Add any other context about the problem here.
做过以下排查
- Emqx 的数据桥接到tdengine , 没有发送失败记录,全部成功
- 开启enableRecordHttpSql日志, 是有insert 语句的.
有没有时间戳相同导致被覆盖更新的隐患?