Thank you Jens, let me provide you an overview of what I’m trying to do:
In my App, I have mainly two types of documents: lets call them “operative” 
docs, and “configuration” docs.
I need to synchronize all the configuration docs regardless of their date, 
but, for the operative docs, I need to discard old docs and synchronize 
only the earliest ones.
in a previous post 
(https://groups.google.com/forum/#!topic/mobile-couchbase/9iOm9Sk50FQ) you 
had suggested me that create a
channel by week but this approach, is not suitable for this purpose because 
it will discard my configuration documents.
So what I’m trying to do then, is to set an “oldChannel” (noExiste) to the 
old operative documents so that they are not visible to the mobile app any 
more. But then, if I’m understanding correctly, if I assign them to another 
channel, couchbase would set them as “in conflict” due to the fact that 
there’s still a  document version in an old branch, is this right?
Therefore my question would be if it is possible to set a new channel to a 
document and delete the previous branches, so that couchbase lite won’t see 
any old channel but the new one only. 
How can we do that?


> I think your doc has conflicts. According to the internal metadata you 
> showed, the doc used to be in the “txm" and “txm2” channels but was removed 
> as of revision 1-aae23304cdee262c2ccb53c8dd80e0bd. That implies that 
> there’s an earlier revision that was in those channels. It must be a 
> conflicting revision on another (deleted) branch, since it couldn’t have a 
> generation number less than 1.
>
> —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/8712a93e-e7cf-4c0f-a46a-2523c4691f7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to