Mark Payne created NIFI-800:
-------------------------------

             Summary: WriteAheadLog will 'blacklist' a partition if an 
Exception is thrown but not an Error
                 Key: NIFI-800
                 URL: https://issues.apache.org/jira/browse/NIFI-800
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
             Fix For: 0.3.0


The MinimalLockingWriteAheadLog catches Exception when it calls 
Partition.update; if an Excpetion is thrown, the Partition is blacklisted so 
that it cannot be updated again until the repo is checkpointed. It should catch 
Throwable, as any unexpected termination of the method call leaves the 
Partition in a 'bad state' because it potentially has a partial record written 
to it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to