Skip to content

Detecting possible file collisions

Even though Resilio Active Everywhere is not specifically designed to track file collisions - file being edited at the same time on different computers, there's a way to be informed if that has happened.

Resilio Agent can know about it only post factum and utilize Archive to detect that a possible file collision has happened.

Warning

This functionality is not supported for Transparent Selective Sync shares on Windows Agents.

To make it work, add custom parameter notify_file_edit_conflict_time_diff into Agent Profile on Management Console. The value is in seconds, it’s the maximum difference between “date modified” of files edited on two different computers for them to be considered colliding.

Minimal value is 60, which is 1 minute. Value 0 means that parameter is disabled and agent won't check for collisions.

wposb0wU54.png

If the Agents detects this collision, it shows system notification to the user.

2679e164-d0e1-40fa-b0bf-2c4ad943a75d.png

This is how detection is implemented:
it relies on the modification time of the files and changed hash - local and remote. If userA updates local file, then userB updates same file as well, file is moved to Archive on agentA and userA is notified about this.

Notification won't show up until userA receives the files from userB and

Notification won’t appear if B just changes mtime of file (with ‘touch’ for example). It's important that the file is indeed changed on both peers within time mentioned in the Profile.