rnewson commented on a change in pull request #3481:
URL: https://github.com/apache/couchdb/pull/3481#discussion_r605004027



##########
File path: src/couch/src/couch_db.erl
##########
@@ -895,7 +895,7 @@ validate_doc_update(Db, Doc, GetDiskDocFun) ->
 
 validate_ddoc(Db, DDoc) ->
     try
-        ok = couch_index_server:validate(Db, couch_doc:with_ejson_body(DDoc))
+        ok = couch_mrview:validate(Db, couch_doc:with_ejson_body(DDoc))

Review comment:
       isn't this a layering violation? the index/mrview split was intended to 
make the m/r view a specific kind of index




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to