Skip to content
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

DAOS-16639 object: fix assertion #15329

Merged
merged 5 commits into from
Nov 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/object/srv_ec_aggregate.c
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,14 @@ agg_diff_preprocess(struct ec_agg_entry *entry, unsigned char *diff,
hole_off = 0;
d_list_for_each_entry(extent, &entry->ae_cur_stripe.as_dextents,
ae_link) {
D_ASSERT(!extent->ae_hole);
if (extent->ae_hole) {
/* valid hole processed by agg_process_holes_ult() */
D_ASSERTF(extent->ae_epoch < entry->ae_par_extent.ape_epoch,
"hole ext epoch " DF_X64 ", parity epoch " DF_X64 "\n",
extent->ae_epoch, entry->ae_par_extent.ape_epoch);
continue;
}

if (extent->ae_epoch <= entry->ae_par_extent.ape_epoch)
continue;
D_ASSERT(extent->ae_recx.rx_idx >= ss);
Expand Down
Loading