kocolosk opened a new issue #1108: Query DNS to automatically discover cluster peers URL: https://github.com/apache/couchdb/issues/1108 We can streamline cluster setup by querying DNS for an SRV record containing the hostnames of other cluster members. Service records are defined in [RFC 2782](https://www.ietf.org/rfc/rfc2782.txt) for this purpose but this is not a strictly academic exercise. As a practical example Kubernetes will create SRV records for members of a StatefulSet. I created a sidecar container that uses those SRV records to automatically join up the members of a StatefulSet here: https://github.com/kocolosk/couchdb-statefulset-assembler I think it would be interesting to push that logic down into mem3 directly. I'm envisioning a system that can be configured like so ``` [mem3] use_dns_service_discovery = true service_record_name = _couchdb._tcp.example.net ``` If a user omits the `service_record_name` CouchDB would attempt to generate the appropriate record for the query by prepending `_couchdb._tcp.` to the DNS domain name portion of the host / VM / container FQDN.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
