This repository was archived by the owner on Jul 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
crash instantly on data loss errors #56
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 tasks
1439144 to
99c7d5b
Compare
nvartolomei
added a commit
to nvartolomei/redpanda
that referenced
this pull request
Oct 16, 2024
See kgo PR for additional details redpanda-data/kgo-verifier#56
nvartolomei
added a commit
to nvartolomei/redpanda
that referenced
this pull request
Oct 16, 2024
See kgo PR for additional details redpanda-data/kgo-verifier#56
dotnwat
approved these changes
Oct 16, 2024
Member
|
i realize this is draft i didn't intend to hit approve, but it also looked ok. |
Contributor
|
I suspect false positives on data loss in franz-go https://github.com/twmb/franz-go/blob/master/pkg/kgo/consumer.go#L2283, so I'll check with Travis. |
Member
@bashtanov @nvartolomei what's the status on this pr? |
Contributor
|
Most probably the failures are not related to franz-go, so let's merge it |
Member
|
@nvartolomei ping |
Contributor
Author
|
There’s a failure in an upgrade test happening with an old version. Want to
figure that one out to avoid introducing ci noise.
…On Fri, 18 Oct 2024 at 22:09, Noah Watkins ***@***.***> wrote:
@nvartolomei <https://github.com/nvartolomei> ping
—
Reply to this email directly, view it on GitHub
<#56 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEETWMYCEIEBQQOJSBVLITZ4F2H3AVCNFSM6AAAAABP7AXDWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRTGIZTMMJTGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
7f0f3a9 to
8ac4000
Compare
nvartolomei
added a commit
to nvartolomei/redpanda
that referenced
this pull request
Nov 28, 2024
See kgo PR for additional details redpanda-data/kgo-verifier#56
nvartolomei
added a commit
to nvartolomei/redpanda
that referenced
this pull request
Nov 29, 2024
See kgo PR for additional details redpanda-data/kgo-verifier#56
We (nvartolomei and bash) found that GroupReadWorker wouldn't report data loss. The reason is that we didn't fail the test instantly when data loss is detected instead we relied on monotonicity validation to fail. I.e. we would crash when we detected that we would consume an earlier offset compared to what we consumed before. In the GroupReadWorker we reset the monotonicity validation state on any errors because the next attempt at consuming is almost certain to read the second time offsets already consumed. As a result we wouldn't catch monotonicity issues. In retrospect, it would have been better to fail instantly when franz-go detects data loss. So this commit achieves exactly that.
8ac4000 to
7d45f83
Compare
nvartolomei
added a commit
to nvartolomei/redpanda
that referenced
this pull request
Dec 16, 2024
See kgo PR for additional details redpanda-data/kgo-verifier#56
nvartolomei
added a commit
to nvartolomei/redpanda
that referenced
this pull request
Jan 6, 2025
Includes the following changes: * redpanda-data/kgo-verifier#56
7 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.