Skip to content

Commit

Permalink
sq
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Lazar committed Sep 29, 2023
1 parent e8df8fd commit dde1d87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/v/cloud_storage/remote_partition.cc
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,8 @@ remote_partition::aborted_transactions(offset_range offsets) {
// Note: This is not buletproof: the segment might be
// re-uploaded/merged while waiting for the units which may result
// in a failure to materialise. This should be transient however.
// One solution for this is to grab all the required segment units
// up front at the start of the function.
auto segment_unit = co_await materialized().get_segment_units();
auto path = stm_manifest.generate_segment_path(*it);
auto m = get_or_materialize_segment(
Expand Down

0 comments on commit dde1d87

Please sign in to comment.