Hey Jens,
So I am looking at the example document in the Couchbase Server bucket
directly, and it is in fact quite long. It gets updated almost daily (this
is my personal 'user document' which I modify quite often daily as part of
app testing).
Is there any reason why the old revs wouldn't be removed from the doc when
it's updated? The sync_gateway has been restarted several times.
Best,
-Chris
On Friday, August 29, 2014 2:38:01 PM UTC-4, Chris Fuentes wrote:
>
> Hi,
>
> My config.json looks like this:
>
>
>
>
>
>
>
>
> {
>
> "interface":":4980",
>
> "adminInterface":":4981",
>
> "log":["CRUD", "REST"],
>
> "databases":{
>
> "db_5_29_14":{
>
> *"revs_limit" : 50,*
>
> "server":"http://localhost:8091",
>
> "bucket":"5_29_14",
>
> "sync":`function(doc) { channel(doc.channels); }`
>
> }
>
> }
>
> }
>
> It has been running with this config for about 2 months, yet I see at
> least one document that has in excess of 3,000 revs (the doc itself is
> nearly 16,000 lines long, mostly because of revision metadata). I could be
> imagining things but there seems to be a slight lag whenever interacting
> with these docs.
>
> How is 'revs_limit' supposed to work? I assumed it would retroactively
> remove excess revisions from the doc's _sync field, but maybe I'm wrong? Is
> there any way to compress the doc size? Could not find good documentation
> on this one outside of the go file itself (which didn't have quite enough
> info to resolve the problem).
>
> Thanks,
> -Chris
>
--
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/2c5d8c9d-a265-42ef-90ed-4e4dff20c143%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.