nickva commented on a change in pull request #2132: Implement fabric2_db EPI 
plugin
URL: https://github.com/apache/couchdb/pull/2132#discussion_r316856093
 
 

 ##########
 File path: src/fabric/src/fabric2_db.erl
 ##########
 @@ -582,6 +591,44 @@ get_missing_revs(Db, JsonIdRevs) ->
     {ok, AllMissing}.
 
 
+validate_docid(<<"">>) ->
 
 Review comment:
   ```
   validate_docid(DocId, DbName) ->
       case DbName =:= ?l2b(config:get("mem3", "shards_db", "_dbs")) andalso
           couch_db:is_system_db_name(DocId) of
           true ->
               ok;
           false ->
               validate_docid(DocId)
       end.
   ```
   
   it’s for checking if we are writing to shards db and we don’t have a shards 
db

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


With regards,
Apache Git Services

Reply via email to