Github user JPercivall commented on a diff in the pull request: https://github.com/apache/nifi/pull/1202#discussion_r87648546 --- Diff: nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java --- @@ -121,8 +121,8 @@ private int removedCount = 0; // number of flowfiles removed in this session private long removedBytes = 0L; // size of all flowfiles removed in this session - private final AtomicLong bytesRead = new AtomicLong(0L); - private final AtomicLong bytesWritten = new AtomicLong(0L); + private long bytesRead = 0L; + private long bytesWritten = 0L; --- End diff -- Why change these from AtomicLongs? None of the places where they're written/read could be from multiple threads?
--- 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. ---