lordgamez commented on code in PR #2163:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2163#discussion_r3181554155


##########
libminifi/src/FlowController.cpp:
##########
@@ -130,6 +131,10 @@ nonstd::expected<void, std::string> 
FlowController::applyConfiguration(const std
     std::lock_guard<std::recursive_mutex> flow_lock(mutex_);
     stop();
 
+    // Clear the controller services now that all timer callback threads have 
been stopped
+    clearControllerServices();
+    controller_service_provider_impl_ = 
flow_configuration_->getControllerServiceProvider();

Review Comment:
   The issue only happens in 1% of test runs and it appeared in the minifi c2 
docker tests. The minifi c2 docker tests provide enough regression coverage for 
this issue.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to