> On Oct 9, 2014, at 9:59 AM, Traun Leyden <[email protected]> wrote: > > I talked to the couchbase server support folks, and they pointed me to the > options for the Set command which control whether it's persisted to disk or > not before returning. > > See > https://github.com/couchbaselabs/go-couchbase/blob/master/client.go#L336-L353 > <https://github.com/couchbaselabs/go-couchbase/blob/master/client.go#L336-L353> > > @StevenBarlow: so to get what you were asking for (at least partially), you'd > want to make sure those write options were set to Persist.
I'm confused. The initial question was about a PUT to Sync Gateway. But the answer above is about writing directly to Couchbase Server (using the go-couchbase library.) Those are very different things. At the Sync Gateway REST API level, if we were to add an option to wait for persistence it should be implemented as a handler for /db/_ensure_full_commit, which is the CouchDB equivalent. (The handler actually exists already but currently does nothing.) —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/C659D9EA-409C-4686-8590-50FBF2053B18%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
