You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "rakesh-rsky (via GitHub)" <gi...@apache.org> on 2026/05/06 10:54:14 UTC

[PR] NIFI-15906: Fix IllegalStateException during cluster reconnect in StandardConnection [nifi]

rakesh-rsky opened a new pull request, #11212:
URL: https://github.com/apache/nifi/pull/11212

   ## Summary
   
   During cluster node reconnection, StandardConnection.setDestination() throws an IllegalStateException ("Cannot change destination while destination is running") when the destination is a RemoteGroupPort. Remote ports are managed by the cluster coordinator and can legally be running during reconnect — they should be exempt from this guard, just like Funnel and NiFiPort.
   
   ## Changes
   
   - Added RemoteGroupPort to the instanceof-check exemption list in StandardConnection.setDestination().
   - RemoteGroupPort was already imported in the file; no new imports needed.
   
   ## Testing
   
   - Reproducer: disconnect a node from a cluster that has a Remote Process Group destination, then reconnect — the ISE no longer fires.
   - Existing unit tests pass.
   
   Fixes: https://issues.apache.org/jira/browse/NIFI-15906


-- 
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: issues-unsubscribe@nifi.apache.org

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


Re: [PR] NIFI-15906: Fix IllegalStateException during cluster reconnect in StandardConnection [nifi]

Posted by "exceptionfactory (via GitHub)" <gi...@apache.org>.
exceptionfactory merged PR #11212:
URL: https://github.com/apache/nifi/pull/11212


-- 
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: issues-unsubscribe@nifi.apache.org

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