You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Dong Lin (JIRA)" <ji...@apache.org> on 2018/10/03 07:21:00 UTC

[jira] [Resolved] (KAFKA-6045) All access to log should fail if log is closed

     [ https://issues.apache.org/jira/browse/KAFKA-6045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dong Lin resolved KAFKA-6045.
-----------------------------
    Resolution: Won't Fix

> All access to log should fail if log is closed
> ----------------------------------------------
>
>                 Key: KAFKA-6045
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6045
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Dong Lin
>            Priority: Major
>             Fix For: 2.1.0
>
>
> After log.close() or log.closeHandlers() is called for a given log, all uses of the Log's API should fail with proper exception. For example, log.appendAsLeader() should throw KafkaStorageException. APIs such as Log.activeProducersWithLastSequence() should also fail but not necessarily with KafkaStorageException, since the KafkaStorageException indicates failure to access disk.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)