-
Notifications
You must be signed in to change notification settings - Fork 604
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
[CORE-8760] rptest
: fix race-y checks in test_index_recovery_after_upgrade
#25131
base: dev
Are you sure you want to change the base?
[CORE-8760] rptest
: fix race-y checks in test_index_recovery_after_upgrade
#25131
Conversation
CI test resultstest results on build#62107
test results on build#62115
test results on build#62124
test results on build#62138
test results on build#62144
test results on build#62152
test results on build#62157
test results on build#62167
|
Still flakey. Hmm. |
ef46591
to
854b56a
Compare
Force push to:
|
/ci-repeat 2 |
854b56a
to
3874470
Compare
Retry command for Build#62138please wait until all jobs are finished before running the slash command
|
3874470
to
969ef98
Compare
/ci-repeat 2 |
969ef98
to
a733f2f
Compare
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.
self compaction may not occur before redpanda version changes and node restarts occur.
did you consider changing the test to delay the cluster changes until the desired pre-change state has been reached?
cfe1c1f
to
6665122
Compare
/ci-repeat 5 |
6665122
to
decc991
Compare
Parses the compaction footer from a compacted index for a segment. This function implements logic similar to that found in `compacted_index_chunk_reader::load_footer()` to properly read compacted index footers for either V1 or V2/V3.
This test can race with segment rolls and un-self-compacted segments, since self compaction may not occur before `redpanda` version changes and node restarts occur. Thus, breaking the expectations around the compacted index `mtime()` stats. To fix the race conditions, use the newly added compaction index footer reader from `compute_storage.py` to check if a segment has been self compacted or not.
decc991
to
376fb6d
Compare
Force push to:
|
This test can race with segment rolls and un-self-compacted segments, since self compaction may not occur before
redpanda
version changes and node restarts occur. Thus, breaking the expectations around the compacted indexmtime()
stats.To fix the race conditions, use a newly added compaction index footer reader from
compute_storage.py
to check if a segment has been self compacted or not, conditionally adding the segment to the list of expectedmtime
values.Backports Required
Release Notes