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

[v23.2.x] Improved handling of truncation with ACKS=1 #16530

Conversation

mmaslankaprv
Copy link
Member

Backport of PR #16475

Signed-off-by: Michal Maslanka <michal@redpanda.com>
(cherry picked from commit ec7b6ed)
If an offset was already visible a follower must not be allowed to
truncate it as it may lead to a situation in which an offset is visible
and not readable.

Visible batches has the same replication guarantees as committed batches
as leader still waits for the majority to acknowledge message at given
offset before making it visible to the readers. This makes it possible
not to truncate offsets which were previously visible.

Signed-off-by: Michal Maslanka <michal@redpanda.com>
(cherry picked from commit 3d9a794)
@mmaslankaprv mmaslankaprv linked an issue Feb 7, 2024 that may be closed by this pull request
@piyushredpanda piyushredpanda added this to the v23.2.25 milestone Feb 7, 2024
@piyushredpanda
Copy link
Contributor

#8217

@piyushredpanda piyushredpanda merged commit d2f8252 into redpanda-data:v23.2.x Feb 7, 2024
22 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v23.2.x] Improved handling of truncation with ACKS=1
3 participants