You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2026/02/03 18:02:00 UTC
[jira] [Resolved] (KAFKA-19492) ReplicaManager.deleteRecordsOnLocalLog should debug log the exception message when OffsetOutOfRangeException occurs
[ https://issues.apache.org/jira/browse/KAFKA-19492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai resolved KAFKA-19492.
------------------------------------
Fix Version/s: 4.3.0
Resolution: Fixed
> ReplicaManager.deleteRecordsOnLocalLog should debug log the exception message when OffsetOutOfRangeException occurs
> -------------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-19492
> URL: https://issues.apache.org/jira/browse/KAFKA-19492
> Project: Kafka
> Issue Type: Task
> Components: core
> Affects Versions: 4.0.0
> Reporter: Stig Rohde Døssing
> Assignee: Stig Rohde Døssing
> Priority: Minor
> Fix For: 4.3.0
>
>
> When using the admin client to delete records on a Kafka partition, the deletion may fail for a few different reasons. One of those reasons is OFFSET_OUT_OF_RANGE.
> While the code that throws OffsetOutOfRangeException already has very good exception messages, those messages are lost because deleteRecordsOnLocalLog discards them.
> This makes it hard to tell what the issue was when an admin client receives this error.
> It would be convenient if deleteRecordsOnLocalLog would debug log these messages.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)