apache / apache/pouchdb

Sync/replication style:main_only is not pushing a winning deleted revision

Open
#8,881 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
17.6k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

If you use the {style: 'main_only'} in the 'push' direction from PouchDB to a server, it doesn't push a winning deleted revision. It looks like it's filtering all deleted revisions, which is not correct. When I'm deleting a doc, the last deleted revision is a winning revision. CouchDB doesn't have this bug, when I pull main_only revisions from CouchDB, it replicates a winning deleted revision.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.