Uploaded image for project: 'Couchbase Mobile'
  1. Couchbase Mobile
  2. CM-1000

Sync Gateway: Expose Mobile Metadata Sync TimeStamp

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • SyncGateway

    Description

      There are cases where it would be relevant for apps to identify the time when the document was synced by Sync Gateway. This is the timestamp corresponding to when the mobile metadata was updated by Sync Gateway (timestamps for 'import time' or 'SG write time' )

       

       

      Use cases for this could be

      • traceability of document as it flows through the user's backend pipeline starting with the time the document was synced to the backend server.
      • TS based Conflict resolution based on when document was written to server

      It is not possible for apps to include a user defined TS field as the TS would correspond to the time when document was created. With client partitioning, network delays and no guarantee of time sync across clients, this TS would not correspond to when the document was actually synced by the Sync Gateway

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            priya.rajagopal Priya Rajagopal
            priya.rajagopal Priya Rajagopal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty