Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9310

Failure to perform component verification prevented UI from responding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.15.0
    • 1.15.0
    • Core Framework
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h