NIFI-14212 Fixed the state for disabled processors#10052
NIFI-14212 Fixed the state for disabled processors#10052shubhrajain475 wants to merge 1 commit intoapache:mainfrom
Conversation
13f1c2b to
6a4aff7
Compare
exceptionfactory
left a comment
There was a problem hiding this comment.
Thanks for looking into this issue @shubhrajain475.
The StandardProcessorNode class is one a several essential framework classes that require careful attention to detail for every change. Introducing new synchronized blocks is potentially problematic given the overall use of the class, so that is one area of concern. Changing other conditionals raises additional questions, such as checking the validation status again in the run() method.
One a lesser note, there are some syntax formatting issues that Checkstyle identified.
This kind of change pass existing unit and system tests, and probably warrants at least one new system test.
For these reasons, it is not the best type of issue for a first time contribution.
If you are interested in addressing the testing issues, this could be open for reconsideration, but I'm closing it for now given the issues noted.
Summary
[NIFI-14212] Resolved improper state handling for disabled processors. Ensured that disabled processors are ignored in scheduling and validation logic to maintain consistent flow behavior. (https://issues.apache.org/jira/browse/NIFI-14212)
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
Pull Request Tracking
NIFI-00000NIFI-00000Pull Request Formatting
mainbranchVerification
Please indicate the verification steps performed prior to pull request creation.
Build
mvn clean install -P contrib-checkLicensing
LICENSEandNOTICEfilesDocumentation