nickva commented on issue #4273:
URL: https://github.com/apache/couchdb/issues/4273#issuecomment-1323932426

   It looks like most of the above commits except  
https://github.com/apache/couchdb/commit/b38d77fbada7cce7de288d2cdcca8839b09888f4
 are already merged to `main`.
   
   Directly cherry picking that commit won't work, but we can go with the same 
idea - move the parsing code to `couch_replicator_parse` module. Then, update 
it to do extra validations and checks which the JS VDU might be doing but 
Erlang code doesn't do yet. There is a good opportunity to enhance it even, add 
more checks , better error messages on failures, etc, then plug that right into 
`before_doc_update` handler. Finally, remove the JS VDU from the code and also 
leave a stub deletion code snippet to try to clean up the already created JS 
VDU documents.
   


-- 
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]

Reply via email to