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

Created common method for creating non-HA server zk path #5225

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

dlmarion
Copy link
Contributor

@dlmarion dlmarion commented Jan 6, 2025

For HA servers (Manager, Monitor, etc) the ZK node is created at instance initialization time. For non-HA servers (compactor, sserver, tserver) the paths are created when the server is started. Each server impl had code to do this and I just moved it into a common location.

For HA servers (Manager, Monitor, etc) the ZK node is created at
instance initialization time. For non-HA servers (compactor, sserver,
tserver) the paths are created when the server is started. Each
server impl had code to do this and I just moved it into a common
location.
@dlmarion dlmarion added this to the 4.0.0 milestone Jan 6, 2025
@dlmarion dlmarion self-assigned this Jan 6, 2025
@dlmarion
Copy link
Contributor Author

dlmarion commented Jan 6, 2025

This is waiting on #5224 to be merged

@dlmarion dlmarion marked this pull request as ready for review January 6, 2025 20:15
Copy link
Contributor

@keith-turner keith-turner left a comment

Choose a reason for hiding this comment

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

Updating the code to use the enum instead of a string is nice.

@dlmarion dlmarion merged commit 34d27c9 into apache:main Jan 13, 2025
8 checks passed
@dlmarion dlmarion deleted the common-zk-path-creation branch January 13, 2025 13:43
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