Skip to content
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

fix: enable-ipv6 option is ignored #3731

Merged
merged 2 commits into from
Dec 6, 2024
Merged

fix: enable-ipv6 option is ignored #3731

merged 2 commits into from
Dec 6, 2024

Conversation

kolesnikovae
Copy link
Collaborator

@kolesnikovae kolesnikovae commented Nov 30, 2024

Our configuration includes an option to enable IPv6 interface discovery when a component's advertised address is not explicitly defined. However, for unknown reasons, this option is not currently utilized, which can be quite confusing.

This PR addresses the issue by ensuring the relevant configuration parameters are properly applied. It is a no-op in most cases but may impact deployments intended to use IPv6.

@kolesnikovae kolesnikovae marked this pull request as ready for review November 30, 2024 04:53
@kolesnikovae kolesnikovae requested review from a team as code owners November 30, 2024 04:53
Comment on lines +547 to +553
ring:
# The key-value store used to share the hash ring across multiple instances.
kvstore:
# Backend storage to use for the ring. Supported values are: consul, etcd,
# inmemory, memberlist, multi.
# CLI flag: -distributor.ring.store
[store: <string> | default = "memberlist"]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For some reason, the distributor's ring configuration was omitted from the documentation, even though it is still available in the CLI help message. I've added it to the config spec doc.

Comment on lines -849 to +1026
[address: <string> | default = ""]
[instance_addr: <string> | default = ""]
Copy link
Collaborator Author

@kolesnikovae kolesnikovae Nov 30, 2024

Choose a reason for hiding this comment

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

I bet many people have been caught by this unfortunate inconsistency: we use instance_addr everywhere else. In the CLI, it's actually instance-addr, what makes things even more confusing.

To prevent any future confusion, I'm changing address to instance_addr while maintaining backward compatibility with the previous version.

Copy link
Collaborator

@korniltsev korniltsev left a comment

Choose a reason for hiding this comment

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

lgtm

@kolesnikovae kolesnikovae merged commit 749fbab into main Dec 6, 2024
18 checks passed
@kolesnikovae kolesnikovae deleted the fix/ipv6-support branch December 6, 2024 01:50
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.

2 participants