Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Resolved conflicts in CouchDB not reflected in TouchDB #99

@mjq

Description

@mjq

Out setup is a CouchDB server with many Android and iOS TouchDB clients. The clients keep push and pull continuous replications running. We have a separate follower process (on another server) that follows Couch's changes feed and, when it encounters a document conflict, merges the document and deletes the conflicting revisions in a bulk update (following the pseudocode in the wiki).

We would expect that this change would get reflected on our devices, removing the conflict, but although we get the follower's updated revision, the conflicting revision never gets deleted, so we continue to see conflicts on our Android devices.

Simply deleting a (conflict-free) document in CouchDB works fine, so it seems to be deleting conflicting revisions that is the issue. I'm pretty sure we aren't seeing this issue on TouchDB-iOS, where the local conflict is resolved once the pull comes through.

Thanks - I'd be happy to provide any more info that might be useful.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions