Changes in feed from shadow bucket

9 views
Skip to first unread message

Yury Korolev

unread,
Nov 12, 2014, 3:13:13 PM11/12/14
to couc...@googlegroups.com
Hi,

I configured couchbase + sync gateway:

1. Default bucket - web app is working with default bucker through nodejs api
2. sync_bucket - sync bucket for sync_gateway
3. Couchbase lite iOS connected to gateway (continous replication)
4. NodeJS app that connects to sync_gateway for changes (using follow npm)

My problem:

If iOS app creates document and sync db with sync_gateway. NodeJS app (4) see two changes for this document. Documents are identical except revision.
I want to track changes only on created docs.

I think I get double documents in changes feed because of shadow bucket sync.

So, my question - is it ok to get double documents because of shadow bucket and I have to work around this behaviour in my (4) or I messed up with my config (1, 2)?

Thank you for any help in advance.

Reply all
Reply to author
Forward
0 new messages