Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Multiple shards on same hardware node #2003

Closed
deniszh opened this issue Sep 10, 2021 · 2 comments
Closed

Multiple shards on same hardware node #2003

deniszh opened this issue Sep 10, 2021 · 2 comments

Comments

@deniszh
Copy link

deniszh commented Sep 10, 2021

Describe the bug
When I try to deploy more then one shard of Metrictank on same hardware node it's not really working because of conflict of node name in memberlist, e.g.

2021/09/10 10:16:46 [ERR] memberlist: Conflicting address for worker999. Mine: 10.17.14.111:20380 Theirs: 10.17.14.111:23425

worker999 is a hostname.

Helpful Information
Metrictank Version: v1.1-168-g2833b60

Maybe it's possible to distinguish node name through config?

@deniszh deniszh added the bug label Sep 10, 2021
@deniszh
Copy link
Author

deniszh commented Sep 16, 2021

Looks like config change can't hel here, but code change is quite trivial - deniszh@b00e8b5
Looks like that enough - it's resolving name conflict, everything else working as usual.

@stale
Copy link

stale bot commented Mar 2, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 2, 2022
@stale stale bot closed this as completed Apr 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant