apache / apache/rocketmq-client-cpp

[Bug] PushConsumer may cause consumption duplication in some scenarios due to concurrency issues.

Đang mở
#479 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
393
Fork
167
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**BUG REPORT**

1. Please describe the issue you observed:

- What did you do (The steps to reproduce)?
1. Start a consumer client c1.
2. Start another consumer client c2 and immediately shut it down.
3. Observe the consumption duplication of the consumer client c1.
![image](https://github.com/user-attachments/assets/4395188f-a20a-4679-984d-774cab7ab5a4)
- What did you expect to see?
There's no consumption duplication.
- What did you see instead?
The consumer client c1 duplicate consume the same message many times at the same timestamp.

![image](https://github.com/user-attachments/assets/7355e643-c6fe-46c8-90d1-7ba551092d62)

4. Please tell us about your environment:

- What is your OS?
Ubuntu & CentOS
- What is your client version?
latest
- What is your RocketMQ version?
5.9
4. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.