You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/08/13 18:45:15 UTC

[GitHub] [couchdb] nickva commented on pull request #3077: Validate shard specific query params on db create request

nickva commented on pull request #3077:
URL: https://github.com/apache/couchdb/pull/3077#issuecomment-673647109


   Should we allow multiple zones in the placement parameter?
   
   ```
   $ http put $DB1/bad5?placement=zone1:1,zone2:2
   HTTP/1.1 400 Bad Request
   
   {
       "error": "bad_request",
       "reason": "The `placement` value should be in a format `zone:n`."
   }
   ```
   
   I don't recall ever using that option tbh, but just saw the parsing code in mem3 and saw it tokenizes the string based on "," first.


----------------------------------------------------------------
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:
users@infra.apache.org