Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-431

PutFile incorrectly attempts to atomically replace non-regular files atomically

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            achristianson Andrew Christianson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: