markap14 commented on PR #11647:
URL: https://github.com/apache/nifi/pull/11647#issuecomment-5589198096

   [Cursor Grok 4.6] The **ubuntu-24.04 Java 21** system-tests failure on [run 
34248735179](https://github.com/apache/nifi/actions/runs/34248735179/job/102137607630)
 was a real issue from this PR, not a flake.
   
   Clustered connector updates failed with:
   
   ```
   java.lang.IllegalStateException: Connection with ID ... is already registered
       at NioAsyncLoadBalanceClient.register
       at FlowControllerFlowContextFactory.createWorkingFlowContext
       at StandardConnectorNode.replaceWorkingFlowContextFromActive
       at StandardConnectorNode.applyUpdate
   ```
   
   Creating the replacement working process group while the previous group was 
still registered reused the same connection IDs in the cluster load-balance 
client registry. The previous working group is now removed before the 
replacement is created, and the published working context is still never set to 
null.
   
   
`PythonNarDeletionDuringInitIT.testForceDeleteNarDuringProcessorInitialization` 
failed in the same job (`expected: not <null>` on the processor type lookup). 
That path does not touch connector working-context recreation; if it fails 
again on the new head I will treat it as a pre-existing flake and rerun the 
shard.


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