pgj opened a new pull request, #5968: URL: https://github.com/apache/couchdb/pull/5968
Introduce a new flag, `--write-uri-file` that makes the script to configure CouchDB for laying down the `couch.uri` for each node. This is implictly assumed when using `--auto-ports` because in that case the presence of those files can contribute to easier discovery of the exposed ports. But sometimes it may make sense to get the `couch.uri` files rendered even if the ports were allocated deterministically. Also, make it sure that no `.uri` files are left behind when they are not in use. ## Testing recommendations When running `dev/run` without either `--write-uri-file` or `--auto-ports`, no `couch.uri` files shall be present under `dev/lib/*/`. On the contrary, when any of those is used, the files should be there and they should hold the actual, working references to exposed ports. ## Related Issues or Pull Requests This is an enhancement to #5964 and #5967, per the suggestion of @rnewson. ## Checklist - [x] This is my own work, I did not use AI, LLM's or similar technology - [x] Code is written and works correctly -- 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]
