Github user trkurc commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/478#discussion_r65196703
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java
 ---
    @@ -950,6 +955,45 @@ private void rollback(final boolean penalize, final 
boolean rollbackCheckpoint)
             resetState();
         }
     
    +    private String loggableFlowfileInfo() {
    +        final StringBuilder details = new StringBuilder(1024).append("[");
    +        final int initLen = details.length();
    +        int filesListed = 0;
    +        int maxRollbackFlowfilesToLog = 5;
    --- End diff --
    
    This seems like a reasonable default for troubleshooting and likely not 
worth the effort of making it a config option until the utility of this is 
better understood - but should it be a "constant" somewhere?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to