taosdata / taosdata/TDengine

TDengine oss 3.3.6 taos-jdbcdriver 3.7.8 订阅select 查询时一段时间后收不到消息(出现了hash键冲突)

Open
#34,451 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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:

Image Image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.