Details
-
Sub-task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
This may be a dup of KAFKA-5355, but the system tests in KAFKA-5366 shows that a concurrent transactional consumer reads aborted messages. For the test in question the clients are bounced 6 times. With a transaction size of 500, we expect 3000 aborted messages. The concurrent consumer regularly over counts by 1000 to 1500 messages, suggesting that some aborted transactions are consumed.
-------------------------------------------------------------------------------- test_id: kafkatest.tests.core.transactions_test.TransactionsTest.test_transactions.failure_mode=clean_bounce.bounce_target=clients status: FAIL run time: 1 minute 56.102 seconds Detected 1000 dups in concurrently consumed messages Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/ducktape/tests/runner_client.py", line 123, in run data = self.run_test() File "/usr/local/lib/python2.7/dist-packages/ducktape/tests/runner_client.py", line 176, in run_test return self.test_context.function(self.test) File "/usr/local/lib/python2.7/dist-packages/ducktape/mark/_mark.py", line 321, in wrapper return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs) File "/opt/kafka-dev/tests/kafkatest/tests/core/transactions_test.py", line 235, in test_transactions assert num_dups_in_concurrent_consumer == 0, "Detected %d dups in concurrently consumed messages" % num_dups_in_concurrent_consumer AssertionError: Detected 1000 dups in concurrently consumed messages
This behavior continues even after https://github.com/apache/kafka/pull/3221 was merged.
Attachments
Attachments
Issue Links
- links to