-
Notifications
You must be signed in to change notification settings - Fork 705
Offset translator consistency validation #24607
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
Offset translator consistency validation #24607
Conversation
a303925 to
6ca53e1
Compare
Retry command for Build#59925please wait until all jobs are finished before running the slash command |
CI test resultstest results on build#59925
test results on build#59985
|
|
Why does segment size matter? |
|
/cdt |
| # not to emit spurious errors | ||
| "raft_io_timeout_ms": 20000, | ||
| "compacted_log_segment_size": 1024 * 1024, | ||
| "log_segment_size": 2 * 1024 * 1024, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just fyi, we can go smaller than this with segment size using #24544
environment = {"__REDPANDA_TEST_DISABLE_BOUNDED_PROPERTY_CHECKS": "ON"}
Added code that validates if deltas are consistent across different replicas. Signed-off-by: Michał Maślanka <michal@redpanda.com>
Signed-off-by: Michał Maślanka <michal@redpanda.com>
Signed-off-by: Michał Maślanka <michal@redpanda.com>
017dfee to
9d885f5
Compare
bashtanov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A nit only. Segment is small for non-data batches to happen more often, right?
| all_partitions = admin.get_partitions(node=n) | ||
|
|
||
| def _state_consistent(ns, topic, partition): | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: excessive empty line
Retry command for Build#59985please wait until all jobs are finished before running the slash command |
Exactly, also rolling segments is not trivial operation so it may trigger anomalies and race conditions. |
|
the failure is unrelated |
|
/backport v24.3.x |
|
/backport v24.2.x |
|
Failed to create a backport PR to v24.2.x branch. I tried: |
Added basic validation of offset translator consistency
Backports Required
Release Notes