Synchrony - Can't sync with the server error when multiple users are saving the same page

XMLWordPrintable

    • 17
    • Severity 3 - Minor
    • 1

      Problem

      • When multiple users are editing the same page, and click on update together

      Environment

      .

      Steps to Reproduce

      • Create a Page in Confluence
      • Have multiple users editing the same page (I did it with 5)
      • Have them click on publish around the same time

      Expected Results

      The editions should be synchronized and published

      Actual Results

      Some of the users will receive an error when trying to save

       

      Workaround

      Most of the times, publishing the page again will have it work, if you get the same error after retrying, the page will need to be refreshed, and then saved.

      Notes

      In developer tools, If we look at the post request for the draft, we can see that the API is sending a version that was sent previously by of the other users, and then it fails:

      Request: "page"
      version: {number: 34, message: "", minorEdit: false, syncRev: "0.sO0vod7WeiIncamVjFZMWQ.0"}
      
      Response: 
      {"statusCode":409,"data":{"authorized":false,"valid":true,"allowedInReadOnlyMode":true,"errors":[],"successful":false},"message":"Version must be incremented on update. Current version is: 34","reason":"Conflict"}
      

      Some of the times, the error comes as updating a stale draft:

      {"statusCode":409,"data":{"authorized":false,"valid":true,"allowedInReadOnlyMode":true,"errors":[],"successful":false},"message":"Attempted to update stale data. Try again.","reason":"Conflict"}
      

       

            Assignee:
            Unassigned
            Reporter:
            Winderson Souza
            Votes:
            24 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated: