jfrazee commented on code in PR #6159:
URL: https://github.com/apache/nifi/pull/6159#discussion_r949560824


##########
nifi-nar-bundles/nifi-azure-bundle/nifi-azure-processors/src/main/resources/docs/org.apache.nifi.processors.azure.storage.PutAzureDataLakeStorage/additionalDetails.html:
##########
@@ -28,27 +28,29 @@
 
 <h3>File uploading and cleanup process</h3>
 
-<h4>New file</h4>
+<h4>New file upload</h4>
 
 <ol>
-    <li>An empty file is created.</li>
-    <li>Content is appended to file.</li>
-    <li>In case append failure the file is deleted.</li>
-    <li>In case file deletion failure the empty file remains on the 
server.</li>
+    <li>A temporary file is created with random prefix under the given path in 
'_$azuretempdirectory$'.</li>

Review Comment:
   I think this changed to `_nifitempdirectory` in the final commits.
   ```suggestion
       <li>A temporary file is created with random prefix under the given path 
in '_$nifitempdirectory$'.</li>
   ```



##########
nifi-nar-bundles/nifi-azure-bundle/nifi-azure-processors/src/main/resources/docs/org.apache.nifi.processors.azure.storage.PutAzureDataLakeStorage/additionalDetails.html:
##########
@@ -28,27 +28,29 @@
 
 <h3>File uploading and cleanup process</h3>
 
-<h4>New file</h4>
+<h4>New file upload</h4>
 
 <ol>
-    <li>An empty file is created.</li>
-    <li>Content is appended to file.</li>
-    <li>In case append failure the file is deleted.</li>
-    <li>In case file deletion failure the empty file remains on the 
server.</li>
+    <li>A temporary file is created with random prefix under the given path in 
'_$azuretempdirectory$'.</li>
+    <li>Content is appended to temp file.</li>
+    <li>Temp file is renamed to its original name, the original file is 
overwritten.</li>
+    <li>In case of appending or renaming failure the temp file is deleted, the 
original file remains intact.</li>
+    <li>In case of temporary file deletion failure both temp file and original 
file remain on the server.</li>
 </ol>
 
-<h4>Existing file</h4>
+<h4>Existing file upload</h4>
 
 <ul>
     <li>Processors with "fail" conflict resolution strategy will be directed 
to "Failure" relationship.</li>
-     <li>Processors with "ignore" conflict resolution strategy will be 
directed to "Success" relationship.</li>
+    <li>Processors with "ignore" conflict resolution strategy will be directed 
to "Success" relationship.</li>
     <li>Processors with "replace" conflict resolution strategy:</li>
 
     <ol>
-        <li>An empty file overwrites the existing file, the original file is 
lost.</li>
-        <li>Content is appended to file.</li>
-        <li>In case append failure the file is deleted.</li>
-        <li>In case file deletion failure the empty file remains on the 
server.</li>
+        <li>A temporary file is created with random prefix under the given 
path in '_$azuretempdirectory$'.</li>

Review Comment:
   ```suggestion
           <li>A temporary file is created with random prefix under the given 
path in '_$nifitempdirectory$'.</li>
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to