TDengine oss 3.3.6 taos-jdbcdriver 3.7.8 订阅select 查询时一段时间后收不到消息(出现了hash键冲突)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 25.1k
- Forks
- 5k
- Avg merge
- 4d 59m
- Merged PRs (30d)
- 7
Description
Bug Description
TDengine oss 3.3.6 taos-jdbcdriver 3.7.8 订阅select 查询时一段时间后收不到消息(出现了hash键冲突)
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
取消重新订阅后又能收到消息
Screenshots
01/05 05:28:56.979393 00000112 C TQ ERROR tmq poll: consumer:0x65e538c2a4b0916e, subkey COLLECT-CONSUMER-GROUP:1.common_td_topicdata_rsp, vgId:3, rsp block:0, rsp offset type:wal:3008415, QID:0xc0e0a5a141939562 error msg:Cannot add duplicate keys to hash, line:0
Environment (please complete the following information):
centos:7
Additional Context
Add any other context about the problem here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the subscription SELECT scenario with TDengine OSS 3.3.6 and taos-jdbcdriver 3.7.8 on CentOS 7, using the reported duplicate-key hash error as the diagnostic clue. Compare message delivery before and after cancelling and resubscribing; done means the subscription continues receiving messages without the hash collision error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, java, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100