[
https://issues.apache.org/jira/browse/KAFKA-16460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17897481#comment-17897481
]
PoAn Yang commented on KAFKA-16460:
-----------------------------------
Hi [~kirktrue], I found two potential race conditions:
P1. When a member receives heartbeat response with revoked partitions, a member
with auto commit config will send OffsetCommit request before doing
SubscriptionState#assignFromSubscribedAwaitingCallback. However, the member
doesn't make sure the FetchBuffer is empty before building the request, so it
may send a request with error offset.
P2. The member doesn't stop to send FetchRequest when the membership
reconciliation is in progress. Before the member does
SubscriptionState#assignFromSubscribedAwaitingCallback, a new FetchRequest with
revoked partitions may be sent to a broker.
> New consumer times out consuming records in multiple consumer_test.py system
> tests
> ----------------------------------------------------------------------------------
>
> Key: KAFKA-16460
> URL: https://issues.apache.org/jira/browse/KAFKA-16460
> Project: Kafka
> Issue Type: Bug
> Components: clients, consumer, system tests
> Affects Versions: 3.7.0
> Reporter: Kirk True
> Assignee: PoAn Yang
> Priority: Critical
> Labels: kip-848-client-support, system-tests
> Fix For: 4.0.0
>
> Attachments: verifiable_consumer_worker_A.log,
> verifiable_consumer_worker_A.stdout, verifiable_consumer_worker_B.log,
> verifiable_consumer_worker_B.stdout
>
>
> The {{consumer_test.py}} system test fails with the following errors:
> {quote}
> * Timed out waiting for consumption
> {quote}
> Affected tests:
> * {{test_broker_failure}}
> * {{test_consumer_bounce}}
> * {{test_static_consumer_bounce}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)