[ 
https://issues.apache.org/jira/browse/MINIFICPP-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi updated MINIFICPP-431:
------------------------------------
    Labels: beginner hacktoberfest newbie starter  (was: Hacktoberfest beginner 
newbie starter)

> PutFile incorrectly attempts to atomically replace non-regular files 
> atomically
> -------------------------------------------------------------------------------
>
>                 Key: MINIFICPP-431
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-431
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Andrew Christianson
>            Priority: Minor
>              Labels: beginner, hacktoberfest, newbie, starter
>
> PutFile uses a temporary file and atomic rename() call to ensure that files 
> are written atomically. While this is beneficial in most cases, it causes 
> trouble when the output file is not a regular file (e.g. it is a FIFO file). 
> The processor should stat the file and only attempt an atomic write if the 
> destination does not exist or exists and is a regular file.



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

Reply via email to