File locking support on Windows

Issue #2 resolved
Former user 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. 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


  2. Log in to comment