[ 
https://issues.apache.org/jira/browse/NIFI-15489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18053615#comment-18053615
 ] 

ASF subversion and git services commented on NIFI-15489:
--------------------------------------------------------

Commit f43ef32d9aea5df0a8228b914b9c6d4266d64674 in nifi's branch 
refs/heads/NIFI-15258 from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f43ef32d9a ]

NIFI-15489: Addressed the 4 bugs called out in Jira: Wrong delimiter in 
StandardConnectorPropertyValue.asList, 
ConnectorValidationContextBridge.getProperty() does not resolve property value 
properly; StandaloneProcessGroupLifecycle.stop() does not await controller 
service disabling; switched hashmap in StandaloneProcessGroupLifecycle to 
ConcurrentHashMap (#10798)

- Addressed another similar bug in which an invalid connector that is expected 
to be running would prevent NiFi from starting

> Address a few minor bugs in new Connector feature
> -------------------------------------------------
>
>                 Key: NIFI-15489
>                 URL: https://issues.apache.org/jira/browse/NIFI-15489
>             Project: Apache NiFi
>          Issue Type: Task
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Found a few minor bugs around Connectors:
> h3. 1. Wrong Delimiter in StandardConnectorPropertyValue.asList()
> Splitting based on `:` instead of `,`
> h3.  
> h3. 2. ConnectorValidationContextBridge.getProperty() Returns Wrong Value
> This method passes the property name instead of the property value to 
> newPropertyValue(). It should lookup the actual value from this.rawValues
>  
> h3. 3. StandaloneProcessGroupLifecycle.stop() Doesn't Await Controller 
> Service Disabling
> The final step uses .thenRun() with a lambda that calls 
> disableControllerServices(), which returns a CompletableFuture<Void>. Since 
> thenRun() accepts a Runnable, the returned future is ignored and the stop 
> operation completes before controller services are actually disabled.
> h3. 4. Thread-Safety Issue in StandardConnectorRepository
> Uses a HashMap where a ConcurrentHashMap should be used



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to