This sounds like the automated expiration of obsolete revisions. Currently obsolete revisions are set to automatically expire after five minutes, instead of requiring manual compaction. More details can be found here: https://github.com/couchbase/sync_gateway/issues/372.
At the time there was some discussion of making the expiration time configurable, but there wasn't a pressing use case. If you can share some details about your use case, it would be helpful. Thanks, Adam On Friday, January 30, 2015 at 2:07:41 PM UTC-8, Hadi Sharghi wrote: > > Hi, > I'm using Sync Gateway REST API to update documents from a website, When I > update a document and a previous revision is created, it has an expiration > value like this "1422654390" and the revisions are getting disappear > after a while. I couldn't figure out: > 1- Why REST API sets an expiration on revisions and what does this number > means? It's a date-time format? milliseconds from the moment revision is > created? > 2- If it's possible, how can I set the expiration manually or set to never > or a month instead of couple of minutes? > > Regards, > Hadi Sharghi > > -- 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/4f5384ea-0819-4bf6-825d-60d4f84364d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
