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

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

Dong Lin created KAFKA-6045:
-------------------------------

             Summary: 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


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
(v6.4.14#64029)