Skip to content

Accept cluster nodes without hostname #1991

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Accept cluster nodes without hostname #1991

wants to merge 3 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Mar 3, 2021

RedisNode can now be constructed using an empty hostname. This can happen when a node is in a failover state. RedisNode exposes hasValidHost() to check whether the node has a valid hostname.

Also, introduce a copy constructor to avoid mutations caused by the builder.

Closes #1985

mp911de added 3 commits March 3, 2021 14:15
RedisNode can now be constructed using an empty hostname. This can happen when a node is in failover state. RedisNode exposes hasValidHost() to check whether the node has a valid hostname.

Also, introduce copy constructor to avoid mutations caused by the builder.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 3, 2021
christophstrobl pushed a commit that referenced this pull request Mar 8, 2021
RedisNode can now be constructed using an empty hostname. This can happen when a node is in failover state. RedisNode exposes hasValidHost() to check whether the node has a valid hostname.

Also, introduce copy constructor to avoid mutations caused by the builder.

Original Pull Request: #1991
christophstrobl pushed a commit that referenced this pull request Mar 8, 2021
Original Pull Request: #1991
christophstrobl pushed a commit that referenced this pull request Mar 8, 2021
RedisNode can now be constructed using an empty hostname. This can happen when a node is in failover state. RedisNode exposes hasValidHost() to check whether the node has a valid hostname.

Also, introduce copy constructor to avoid mutations caused by the builder.

Original Pull Request: #1991
christophstrobl pushed a commit that referenced this pull request Mar 8, 2021
Original Pull Request: #1991
christophstrobl pushed a commit that referenced this pull request Mar 8, 2021
RedisNode can now be constructed using an empty hostname. This can happen when a node is in failover state. RedisNode exposes hasValidHost() to check whether the node has a valid hostname.

Also, introduce copy constructor to avoid mutations caused by the builder.

Closes #1985
Original Pull Request: #1991
christophstrobl pushed a commit that referenced this pull request Mar 8, 2021
Original Pull Request: #1991
@christophstrobl christophstrobl deleted the issue/1985 branch March 8, 2021 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Empty IP address in cluster nodes output causes Hostname must not be empty or null
3 participants