Skip to content

Use makePath helper consistently across codebase#4636

Open
epugh wants to merge 2 commits into
apache:mainfrom
epugh:use_zkclient_makepath
Open

Use makePath helper consistently across codebase#4636
epugh wants to merge 2 commits into
apache:mainfrom
epugh:use_zkclient_makepath

Conversation

@epugh

@epugh epugh commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Description

This is spun off a comment that @dsmiley made about some flaky tests: https://issues.apache.org/jira/browse/SOLR-18233?focusedCommentId=18094837&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-18094837

Solution

I looked over, with claude help, the code base looking for all the places that were not using the zkClient.makePath helper, and updated to use it. I also tweaked the javadcos, and then in hte one place we do NOT want to use it, made a explicit call out.

Tests

Rerun existing tests. i don't know how to "beast" a bats test, but hopefully we'll see it.

@dsmiley dsmiley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice little change!

@dsmiley dsmiley added this to the 10.x milestone Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants