Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does transformation affect _rev when replicating? #38

Open
stuartpb opened this issue Dec 1, 2016 · 1 comment
Open

Does transformation affect _rev when replicating? #38

stuartpb opened this issue Dec 1, 2016 · 1 comment

Comments

@stuartpb
Copy link

stuartpb commented Dec 1, 2016

Was just thinking about this: if I put an outgoing transformation on a database and replicate to a fresh database, is that new database going to now think it has the same revision as the original database, with altered content? What about if I replicate a document that the database has - is it going to reject the replication, ignore it (thinking it already has the document), or record an update?

This seems like it'd be an important reason for addressing #37, and could be (part of) replication issues that have been reported like #8.

@nolanlawson
Copy link
Member

Yes, transformation is a silent operation; i.e. there is no way to know whether a replication was transformed or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants