You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am syncing multiple clients with doc changes from a central couchdb document store.
When using the changes /{db}/_changes API to listen for updates and modifications to the database for synchronization of the clients, updates are missing while the seq counter is still counting correctly.
Steps to Reproduce
The sync is started with a GET and url; ${currenDb}/_changes?filter=filters/sync_filter&feed=longpoll&include_docs=true&since=now
Then call again after a result or a timeout.
The problem: When another client updates multiple documents most often several changes are missing. But a the next successful sync the seq counter starts with the correct value. It counted the missing updates.
(Leaving out the sync_filter makes no difference)
HOWEVER: When the data.last_seq is saved after the first call and used in the url as: ... &since=last_seq in the next call, and from now on, always the last_seq value is used, the synchronization works fine.
Expected Behaviour
The synchronization should work with repeated since=now calls OR the documentation should state otherwise.
Your Environment
This behaviour is tested on Ubuntu 24.04 and Couchdb version 3.3.3. and 3.4.2
Additional Context
Expect a bug fix or a documentation update.
The text was updated successfully, but these errors were encountered:
Description
I am syncing multiple clients with doc changes from a central couchdb document store.
When using the changes /{db}/_changes API to listen for updates and modifications to the database for synchronization of the clients, updates are missing while the seq counter is still counting correctly.
Steps to Reproduce
The sync is started with a GET and url;
${currenDb}/_changes?filter=filters/sync_filter&feed=longpoll&include_docs=true&since=now
Then call again after a result or a timeout.
The problem: When another client updates multiple documents most often several changes are missing. But a the next successful sync the seq counter starts with the correct value. It counted the missing updates.
(Leaving out the sync_filter makes no difference)
HOWEVER: When the data.last_seq is saved after the first call and used in the url as:
... &since=last_seq
in the next call, and from now on, always the last_seq value is used, the synchronization works fine.Expected Behaviour
The synchronization should work with repeated since=now calls OR the documentation should state otherwise.
Your Environment
This behaviour is tested on Ubuntu 24.04 and Couchdb version 3.3.3. and 3.4.2
Additional Context
Expect a bug fix or a documentation update.
The text was updated successfully, but these errors were encountered: