Issue #2 resolved

File locking support on Windows

Anonymous created an issue

File locking issues are common in Windows, unlike with Linux. The exclusive file locks used to prevent unwanted concurrent processing of the same file sometimes causes issues on Windows.

e.g. java.io.IOException: The process cannot access the file because another process has locked a portion of the file

Comments (1)

  1. Asankha Perera

    Issue is fixed with a compatibility mode in Windows where a <localfile>.lock file will be created instead of using an exclusive lock. One processing completes, if the <localfile> cannot be deleted/moved, the .lock file will be renamed as .complete. The code then skips processing any files with a .lock or .complete supplementary file

    0ec279ba5a73

  2. Log in to comment