Bob Paulin created NIFI-15761:
---------------------------------

             Summary: ConfigVerificationResultMerger should consolidate 
verification messages across nodes if they are the same.
                 Key: NIFI-15761
                 URL: https://issues.apache.org/jira/browse/NIFI-15761
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Bob Paulin


Currently ConfigVerificationResultMerger always adds the node information to 
any requests that are not successful[1].  The node information is not included 
if there is no node information as would be true in a standalone.  In other 
places [2] these message are consolidated using logic to determine if nodes are 
producing different results.  ConfigVerificationResultMerger will need to do 
this differently but it should be able to get a similar outcome by comparing 
explanations and outcomes across nodes.  That way node information can be 
included only when it provides information due to the nodes not agreeing on the 
errors. 

 

 

[1] 
[https://github.com/apache/nifi/blob/c757de20f1b5ec39dc9c8e3b5913f9539badd1af/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/coordination/http/endpoints/ConfigVerificationResultMerger.java#L68]

 

[2] 
[https://github.com/apache/nifi/blob/c757de20f1b5ec39dc9c8e3b5913f9539badd1af/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/coordination/http/endpoints/ConfigVerificationResultMerger.java#L68]

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to