Uploaded image for project: 'Red Hat build of Apache Camel for Spring Boot'
  1. Red Hat build of Apache Camel for Spring Boot
  2. CSB-8142

[smb] Renaming files on SMB is not atomic

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • CSB-4.next
    • None
    • Camel
    • Very Likely
    • 0

      SMB rename-operation does a remote copy first, then it deletes the original file. See the method

      org.apache.camel.component.smb.SmbOperations.renameFile(String from, String to)
       
      It takes longer and it makes several features like tempPrefix or tempFileName (see SMB :: Apache Camel) useless causing the reading in progress files.

              ldemasi Luigi De Masi
              rodion.alukhanov@dguv.de Rodion Alukhanov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: