Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-3162

Sync Server: get-or-create-document = document with known id will be initiated on get if it doesn't exist yet

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Major Major
    • future
    • None
    • None
    • None

      Currently we support this workflow:

      1. client 1 adds document
      2. client 2 obtains document

      but sometimes, the client want to obtain the document by known id and get it initialized later

      1. client 2 obtains document (because it didn't exist, it is initiated to null)
      2. client 1 initiates document (rewrites null with other ID)
      3. client 2 get a content synchronized

      I believe this should be implemented in the server so that get-or-create-document is one atomic from client's viewpoint.

              dbeveniu Daniel Bevenius (Inactive)
              lfryc Lukáš Fryč (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: