How CmisSync handles conflicts - aegif/CmisSync GitHub Wiki
Scenario:
- Both UserA and UserB synchronize the file
logo.png. - Both UserA and UserB go offline, and edit
logo.pngwhile offline. - UserA goes back online. CmisSync uploads UserA's version of
logo.pngto the server. - UserB goes back online. CmisSync tries to uploads UserB's version of
logo.pngto the server, but realizes that the file has been updated by UserA already. - On UserB's computer, CmisSync renames UserB's
logo.pngtologo.png_UserB-versionand downloads UserA'slogo.png. - UserB now has the two versions, and must perform one of the following actions:
a: Keep UserA's version: Delete
logo.png_UserB-versionand keep UserA'slogo.pngb: Keep UserB's version: Delete UserA'slogo.pngand remove the suffix fromlogo.png_UserB-versionc: Merge content from both intologo.png, then deletelogo.png_UserB-version
CmisSync handles file creation conflicts in a similar way.
It is a good idea to solve conflicts as soon as possible. If another conflict happens before the merge is complete, it is handled the same way, with a suffix like _UserB-version (1).
- In most companies, conflicts do not happen often. The probability of conflicts can be decreased considerably by setting up a small sync interval. Aegif can provide you with a customized CmisSync installer with out-of-the-box settings adapted to your company.