lukecwik commented on a change in pull request #15062: URL: https://github.com/apache/beam/pull/15062#discussion_r657242339
########## File path: sdks/java/harness/src/main/java/org/apache/beam/fn/harness/control/ProcessBundleHandler.java ########## @@ -665,6 +667,11 @@ void release(String bundleDescriptorId, BundleProcessor bundleProcessor) { } } + /** Discard an active {@link BundleProcessor} instead of being re-used. */ + void discard(BundleProcessor bundleProcessor) { + activeBundleProcessors.remove(bundleProcessor.getInstructionId()); Review comment: It is unnecessary since reset will not be invoked. -- 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