-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CompactionE2EIdempotencyTest.test_basic_compaction
: last offset off by one error
#8698
Comments
https://buildkite.com/redpanda/redpanda/builds/22632#01862925-396e-479f-9ea0-86aaa7b2cc52 In this example (see
The issue was found with the
What's interesting is that each consumer reads its own partition and the partition of the failed consumer experienced re-election after the first step. |
add a workaround for redpanda-data#8698
The commit adds: - validation of the written offset monotonicity - tracking of the last written offset (writtenOffset) - tracking of the current position during consumption (readPosition) - adds stop condition for the consumption when read offset reaches last written offset The latter is necessary to bypass redpanda-data#8698 issue
The commit adds: - validation of the written offset monotonicity - tracking of the last written offset (writtenOffset) - tracking of the current position during consumption (readPosition) - adds stop condition for the consumption when read offset reaches last written offset The latter is necessary to bypass redpanda-data#8698 issue
the test is disable by relaxation of the invariant (all written records are consumed vs it's possible to consume up to an offset returned by list offsets) instead of adding ok_to_fail, see 3e4a479 |
The commit adds: - validation of the written offset monotonicity - tracking of the last written offset (writtenOffset) - tracking of the current position during consumption (readPosition) - adds stop condition for the consumption when read offset reaches last written offset The latter is necessary to bypass redpanda-data#8698 issue
CompactionE2EIdempotencyTest.test_basic_compaction
CompactionE2EIdempotencyTest.test_basic_compaction
: last offset off by one error
Sometimes when a consumer queries last offset (least upper bound)
and reads until it reaches it
it gets stuck because the position stops advancing.
The text was updated successfully, but these errors were encountered: