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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0, 0.7.0, 1.0.0-Beta
    • Component/s: Core Framework
    • Labels:
      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

            • Assignee:
              ozhurakousky Oleg Zhurakousky
              Reporter:
              markap14 Mark Payne

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment