sergey-safarov commented on issue #2100: URL: https://github.com/apache/couchdb/issues/2100#issuecomment-3619474659
I want to add some more context. Time to time, required to turn the node into maintenance mode and gracefully remove client traffic delivered via the load balancer (AWS NLB or K8s clientIP). It would be great to have API endpoint switch '_up' endpoint return 503 error code. Something like: ``` curl -X PUT http://adm:pass@localhost:5984/_node/_local/_nodes/{node-name} \ -d '{ \ "_id": "{node-name}", "_rev": "{rev}", "admin_ready": "false" }' ``` -- 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]
