nickva commented on pull request #3947: URL: https://github.com/apache/couchdb/pull/3947#issuecomment-1054786682
A prefix check could make sense. We should probably synchronize it with https://github.com/apache/couchdb/blob/3.x/src/couch/src/couch_doc.erl#L346-L373 and have a prefix check there too? Putting it under `if (!newDoc._deleted)` would work. But, overall, still not sure if this would break replication of the `_replicator` dbs. Yeah it is a bit odd to replicate the _replicator db, but it might still be something users do. Those updates would look like user `_bulk_doc` updates with `new_edits:false` flag, and won't have the `_replicator` role. I don't think we've explicitly considered what should happen in that case across all the combination matrix of old -> new state updates. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
