[Bug] MQTT消息插入失败,控制台反复执行
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 115
Description
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.
### Version
iotdb:1.2.1
windows server 2016
openjdk 11
### Describe the bug and provide the minimal reproduce step
写入iotdb为mqtt方式,之前有物理量名字不合法,中间有个空格。现在已经修改正确。
控制台情况
![Uploading 控制台报错.png…]()
### What did you expect to see?
报错日志如下
[Uploading log_datanode_compaction.log…]()
### What did you see instead?
猜测原因应该是mqtt消息可能有缓存,失败了会继续重新执行,但是不合法的消息会永久失败,可以对缓存做一定处理,如几次缓存都插入执行失败后舍弃mqtt消息内容,或者对持续插入失败的消息,单独给一个修订方式等
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Contributor guide
Research direction
Start by reproducing the MQTT write failure described for IoTDB 1.2.1 and inspect the reported log_datanode_compaction.log and console error. The retry and discard behavior is only proposed, so first establish the intended handling for permanently invalid cached messages; done criteria are not defined in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100