Gábor Gyimesi created MINIFICPP-2140:
----------------------------------------

             Summary: Allow multiple state commits in a process session
                 Key: MINIFICPP-2140
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2140
             Project: Apache NiFi MiNiFi C++
          Issue Type: Improvement
            Reporter: Gábor Gyimesi


A processor's state can be saved through the state manager which is tied to a 
trigger's ProcessSession. The state can be modified when the processor is 
triggered and if the flow file is processed successfully the state is commited 
when the session is commited otherwise it is rolled back. In S3 there is a 
multipart upload feature which is supported by the PutS3Object processor. After 
a part is uploaded the upload state is saved in a state file, but it would be 
more optimal to save it using the state manager. To achieve this the 
ProcessSession and the state manager should be modified to be able to commit 
the state multiple times in a single session. It should also be figured out how 
the rollback should be handled in this case.



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

Reply via email to