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

Processors could be started before the Controller Services that they depend on

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.0.0, 0.7.0, 1.0.0-Beta
    • Core Framework
    • None

    Description

      in the StandardControllerServiceProvider, we enable a Collection of Controller Services but do so in the background with a limited number of threads. We need to ensure that all Controller Services have at least become ENABLING before returning from this method. Otherwise, Processors that depend on them could attempt to start. If this happens, the Processor will be invalid because it references a Disabled Controller Service. As a result, the Processor will not start. In a clustered environment, we will end up with inconsistent run states across the nodes.

      Attachments

        Activity

          People

            ozhurakousky Oleg Zhurakousky
            markap14 Mark Payne
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: