You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Alexey Ozeritskiy (JIRA)" <ji...@apache.org> on 2016/07/27 12:01:20 UTC
[jira] [Updated] (KAFKA-3997) Halting because log truncation is not
allowed and suspicious logging
[ https://issues.apache.org/jira/browse/KAFKA-3997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Ozeritskiy updated KAFKA-3997:
-------------------------------------
Description:
When follower wants to truncate partition and it is not allowed it print the following message:
{noformat}
[2016-07-27 14:07:37,617] FATAL [ReplicaFetcherThread-0-19], Halting because log truncation is not allowed for topic rt3.fol--yabs-rt--bs-hit-log, Current leader 19's latest offset 50260815 is less
than replica 2's latest offset 50260816 (kafka.server.ReplicaFetcherThread)
{noformat}
It is difficult to understand which partition is it.
I suggest to log here partition instead of topic. For example:
{noformat}
[2016-07-27 14:07:37,617] FATAL [ReplicaFetcherThread-0-19], Halting because log truncation is not allowed for topic [rt3.fol--yabs-rt--bs-hit-log,0], Current leader 19's latest offset 50260815 is less
than replica 2's latest offset 50260816 (kafka.server.ReplicaFetcherThread)
{noformat}
was:
When follower wants to truncate partition and it is not allowed it print the following message:
{noformat}
[2016-07-27 14:07:37,617] FATAL [ReplicaFetcherThread-0-19], Halting because log truncation is not allowed for topic rt3.fol--yabs-rt--bs-hit-log, Current leader 19's latest offset 50260815 is less
than replica 2's latest offset 50260816 (kafka.server.ReplicaFetcherThread)
{noformat}
It is difficult to understand which partition is it.
I suggest to log here partition instead of topic. For example:
{noformat}
[2016-07-27 14:07:37,617] FATAL [ReplicaFetcherThread-0-19], Halting because log truncation is not allowed for topic [rt3.fol--yabs-rt--bs-hit-log, 0], Current leader 19's latest offset 50260815 is less
than replica 2's latest offset 50260816 (kafka.server.ReplicaFetcherThread)
{noformat}
> Halting because log truncation is not allowed and suspicious logging
> --------------------------------------------------------------------
>
> Key: KAFKA-3997
> URL: https://issues.apache.org/jira/browse/KAFKA-3997
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 0.9.0.0, 0.9.0.1, 0.10.0.0
> Reporter: Alexey Ozeritskiy
>
> When follower wants to truncate partition and it is not allowed it print the following message:
> {noformat}
> [2016-07-27 14:07:37,617] FATAL [ReplicaFetcherThread-0-19], Halting because log truncation is not allowed for topic rt3.fol--yabs-rt--bs-hit-log, Current leader 19's latest offset 50260815 is less
> than replica 2's latest offset 50260816 (kafka.server.ReplicaFetcherThread)
> {noformat}
> It is difficult to understand which partition is it.
> I suggest to log here partition instead of topic. For example:
> {noformat}
> [2016-07-27 14:07:37,617] FATAL [ReplicaFetcherThread-0-19], Halting because log truncation is not allowed for topic [rt3.fol--yabs-rt--bs-hit-log,0], Current leader 19's latest offset 50260815 is less
> than replica 2's latest offset 50260816 (kafka.server.ReplicaFetcherThread)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)