forked from redpanda-data/redpanda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cloud_storage: Fix offset_for_leader_epoch for RRR
RRR partition can return incorrect offset for epoch because it uses information from local Raft group. This commit fixes the issue by always using data from the cloud storage if the topic is a read-replica. (cherry picked from commit 523bb54)
- Loading branch information
1 parent
aa60294
commit 277d759
Showing
1 changed file
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters