Skip to content

Commit 11fe1a0

Browse files
committed
kafka: add TODO marker for ListOffsets earliest-path fix handoff
Pinpoints where the follow-up PR should wire the correct_epoch_enabled + is_rr gate once partition_proxy exposes a term-for-offset lookup. References the underlying data sources for local and tiered-storage read paths. No behavior change.
1 parent ae0618b commit 11fe1a0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/v/kafka/server/handlers/list_offsets.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ static ss::future<list_offset_partition_response> list_offsets_partition(
121121
ktp.get_partition(), maybe_start_ofs.error());
122122
}
123123

124+
// TODO(CORE-12505 follow-up): wire the correct_epoch_enabled
125+
// + is_rr gate here once partition_proxy exposes a
126+
// term-for-offset lookup. When the property is true and the
127+
// topic is not a read replica, this should return the
128+
// historical term for maybe_start_ofs.value() instead of the
129+
// current leader term.
124130
co_return list_offsets_response::make_partition(
125131
ktp.get_partition(),
126132
model::timestamp(-1),

0 commit comments

Comments
 (0)