kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dong Lin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-6045) All access to log should fail if log is closed
Date Tue, 10 Oct 2017 14:35:00 GMT
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)

Mime
View raw message