Mark Payne created NIFI-9310:
--------------------------------
Summary: Failure to perform component verification prevented UI
from responding
Key: NIFI-9310
URL: https://issues.apache.org/jira/browse/NIFI-9310
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Affects Versions: 1.15.0
Reporter: Mark Payne
Assignee: Mark Payne
Fix For: 1.15.0
This issue does not affect any released versions, but it needs to be addressed
before we release.
When component configuration is verified, the method that gets called on
NiFiServiceFacade is verifyProcessorConfiguration,
verifyControllerServiceConfiguration, verifyReportingTaskConfiguration.
But the verify* methods of the NiFiServiceFacade hold a lock due to the Around
Advice implemented by NiFiServiceFacadeLock.
The lock should not be held in this case. We should instead rename the methods
to performProcessorConfigVerification,
performControllerServiceConfigVerification,
performReportingTaskConfigVerification in order to avoid holding a lock.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)