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/23 23:48:00 UTC

[jira] [Updated] (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 updated KAFKA-6045:
----------------------------
    Fix Version/s:     (was: 2.1.0)

> 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
>
> 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)