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)