Hello,
How does couch base lite handles an atomic counter in offline mode?
What if two offline users create local the same counter value for a given counter, how is this synced?
Regards,Rob
Hello,
How does couch base lite handles an atomic counter in offline mode?
What if two offline users create local the same counter value for a given counter, how is this synced?
Regards,Rob
Hello Rob,
Apologies for the late reply on the topic and hope to provide some insights.
Couchbase Lite being distributed system does not support atomic counter syncing and since it operates asynchronously, there is no distinction between ‘offline’ ‘online’ modes. This differs from the atomic operation feature from Couchbase Server.
Regarding the what-if scenario, if each user’s value is in their own respective document(s) can then use a view to collect them