Revision conflicts caused by replication

Ah very nice. Your remark gave me a consistently reproducable case:

  • Create a document and sync with SG
  • Disconnect device from internet
  • Create >20 revisions on the device (20 being the default maxRevTreeDepth)
  • Reconnect to internet and sync everything to SG again
    => Conflict :slight_smile:

Setting the maxRevTreeDepth on the database to 100 indeed seems to resolve this (our users will never create 100 revisions while offline).

Thanks so much for the hint!