> On Jul 5, 2016, at 2:07 AM, arihant rk <[email protected]> wrote: > > if the request sent SYNC1 and webhook triggered to activate. The same request > will be replicated to SYNC 2 by sg-replicate, again webhook triggers for > activating client which is already activated.
Can you just ignore the redundant activation if you see the client is already activated? > webhooks used for sending events, why do we need same events multiple times. Because it’s a distributed system; especially when you use active-active replication, which means you’ve created a peer-to-peer network (where some of the peers happen to be servers.) A document revision arriving at a peer isn’t a unique event; it’s information propagating across the mesh. —Jens -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/6E896F14-E349-48BA-B8A5-7BACB6FD3214%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
