Skip to content

Conversation

@jameshartig
Copy link
Contributor

This fixes #1706.

Copy link
Contributor

@joao-r-reis joao-r-reis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, left a few comments

host_source.go Outdated
h.dataCenter = from.dataCenter
}
if h.rack == "" {
if h.missingRack || h.rack == "" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should remove the h.rack == "" from here? If now we treat "" as a valid rack.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I could see that, I was trying to handle filling in the rack if it was empty but since "" is valid I should remove it.

@joao-r-reis
Copy link
Contributor

Looks good, don't forget to update commit message before merging

This fixes apache#1706.

Patch by James Hartig for CASSGO-6; reviewed by João Reis for CASSGO-6
@jameshartig jameshartig merged commit f400b49 into apache:trunk Jun 26, 2025
2 checks passed
@jameshartig jameshartig deleted the empty-rack branch June 26, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CASSGO-6 Unable to discover cluster nodes with an empty rack name

2 participants