Skip to main content

Race Conditions with Mount

Race conditions arise when files on a Remote Mount are changed through multiple systems or processes simultaneously, for example when a Sync deletes a source file while another process is modifying the same file directly on the remote system. They aren't always obvious, and sometimes show up in logs as errors like "not found" or "destination already exists".

Avoiding Race Conditions

Wherever possible, avoid setting up a Remote Mount to a "working directory" where files are likely to be in use by remote processes.

The remote system may implement file locking, which prevents more than one user from editing the same file at the same time.