[jira] [Commented] (CASSANDRA-14361) Allow SimpleSeedProvider to resolve multiple IPs per DNS name
[ https://issues.apache.org/jira/browse/CASSANDRA-14361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17212119#comment-17212119 ] Ben Bromhead commented on CASSANDRA-14361: -- Updated PR to address comments and NITs! Added a note in NEWS.txt as well. Yeah I don't think we need to have a flag to revert old behaviour due to new major version. > Allow SimpleSeedProvider to resolve multiple IPs per DNS name > - > > Key: CASSANDRA-14361 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14361 > Project: Cassandra > Issue Type: Improvement > Components: Local/Config >Reporter: Ben Bromhead >Assignee: Ben Bromhead >Priority: Low > Fix For: 4.0.x > > Time Spent: 20m > Remaining Estimate: 0h > > Currently SimpleSeedProvider can accept a comma separated string of IPs or > hostnames as the set of Cassandra seeds. hostnames are resolved via > InetAddress.getByName, which will only return the first IP associated with an > A, or CNAME record. > By changing to InetAddress.getAllByName, existing behavior is preserved, but > now Cassandra can discover multiple IP address per record, allowing seed > discovery by DNS to be a little easier. > Some examples of improved workflows with this change include: > * specify the DNS name of a headless service in Kubernetes which will > resolve to all IP addresses of pods within that service. > * seed discovery for multi-region clusters via AWS route53, AzureDNS etc > * Other common DNS service discovery mechanisms. > The only behavior this is likely to impact would be where users are relying > on the fact that getByName only returns a single IP address. > I can't imagine any scenario where that is a sane choice. Even when that > choice has been made, it only impacts the first startup of Cassandra and > would not be on any critical path. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-16205) Offline token allocation strategy generator tool
[ https://issues.apache.org/jira/browse/CASSANDRA-16205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-16205: --- Test and Documentation Plan: unit tests added. Status: Patch Available (was: In Progress) > Offline token allocation strategy generator tool > > > Key: CASSANDRA-16205 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16205 > Project: Cassandra > Issue Type: Improvement > Components: Local/Config, Local/Scripts >Reporter: Michael Semb Wever >Assignee: Michael Semb Wever >Priority: Normal > > A command line tool to generate tokens (using the > allocate_tokens_for_local_replication_factor algorithm) for pre-configuration > of {{initial_tokens}} in cassandra.yaml. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-16205) Offline token allocation strategy generator tool
[ https://issues.apache.org/jira/browse/CASSANDRA-16205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17211903#comment-17211903 ] Michael Semb Wever commented on CASSANDRA-16205: Unit tests added. Same patch link as above. CI results [here|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/93/pipeline]. > Offline token allocation strategy generator tool > > > Key: CASSANDRA-16205 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16205 > Project: Cassandra > Issue Type: Improvement > Components: Local/Config, Local/Scripts >Reporter: Michael Semb Wever >Assignee: Michael Semb Wever >Priority: Normal > > A command line tool to generate tokens (using the > allocate_tokens_for_local_replication_factor algorithm) for pre-configuration > of {{initial_tokens}} in cassandra.yaml. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org