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 2019/01/15 08:50:34 UTC

[GitHub] xpowerman edited a comment on issue #374: It seem that something wrong in 12.4.1.1. Shards and Replicas documentation

xpowerman edited a comment on issue #374: It seem that something wrong in 12.4.1.1. Shards and Replicas documentation
URL: https://github.com/apache/couchdb-documentation/issues/374#issuecomment-454312199
 
 
   So, I try to add `&placement=zone_ya:1,zone_fr:1`
   
   ```
   # curl -X PUT "http://localhost:5984/testx?q=4&n=2&placement=zone_ya:1,zone_fr:1"
   {"ok":true}
   ```
   And It works!
   
   ```
   curl "http://localhost:5984/testx"
   {"db_name":"testx","purge_seq":"0-g1AAAADPeJzLYWBgYMlgTmGQSs4vTc5ISXLITqzKzzfUSyvSK84sMNbLSy3JAaphymMBkgwHgNR_IMhKZCBGU5IDkEyqx6XBAENDIkOSPfGqIW5qgLhpP1BTFgCBM0L0","update_seq":"0-g1AAAADPeJzLYWBgYMlgTmGQSs4vTc5ISXLITqzKzzfQSyvSK84sMNbLSy3JAaphSmRIsv___39WIgOmakMM1UkOQDKpHpcGTOPzWIAkQwOQAurZT6QtEE0HIJpANmUBAKrUQvQ","sizes":{"file":17032,"external":0,"active":0},"other":{"data_size":0},"doc_del_count":0,"doc_count":0,"disk_size":17032,"disk_format_version":7,"data_size":0,"compact_running":false,"cluster":{"q":4,"n":2,"w":2,"r":2},"instance_start_time":"0"}
   {"ok":true}
   ```
   
   What does it mean? Some kind of bug, or feature?)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services