patricker commented on pull request #2231:
URL: https://github.com/apache/nifi/pull/2231#issuecomment-800728505


   @readl1 Hmm. State is one of the last things we save, and if state save 
fails then we remove the whole file.
   
   ```
                       stateManager.setState(statePropertyMap, Scope.CLUSTER);
                       session.commit();
                   } catch (IOException e) {
                       session.remove(cdcFlowFile);
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to