sergey-safarov opened a new issue, #5755: URL: https://github.com/apache/couchdb/issues/5755
## Description According to the placement [doc](https://docs.couchdb.org/en/stable/cluster/sharding.html#specifying-database-placement) > Alternatively, you can set the COUCHDB_ZONE environment variable on each node and CouchDB will configure this document for you on startup. I have set this variable for the CouchDB process, but when CouchDB started, then this information is not present on the node endpoint ``` curl http://admin:[email protected]:5984/_node/_local/_nodes/[email protected] {"_id":"[email protected]","_rev":"1-967a00dff5e02add41819138abb3284d"} ``` ## Steps to Reproduce Export the COUCHDB_ZONE variable value before the CouchDB process starts, and then send curl request to the node endpoint. ## Expected Behaviour The response should return something like ```json { "_id": "{node-name}", "_rev": "{rev}", "zone": "{zone-name}" } ``` ## Your Environment ```json { "couchdb": "Welcome", "version": "3.5.0", "git_sha": "11f0d3643", "uuid": "ff89e03df97cfbe818b662aeb8744000", "features": [ "quickjs", "access-ready", "partitioned", "pluggable-storage-engines", "reshard", "scheduler" ], "vendor": { "name": "The Apache Software Foundation" } } ``` -- 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]
