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(dfly_bench): support dns resolution for cluster hosts #4715

Merged
merged 1 commit into from
Mar 6, 2025
Merged

Conversation

romange
Copy link
Collaborator

@romange romange commented Mar 6, 2025

also support multiple slot ranges per node.

Initial parsing of MOVED response is done but slot migration is not supported yet.

…e slot ranges.

Initial parsing of MOVED response is done but slot migration is not supported yet.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
@romange romange requested a review from BorysTheDev March 6, 2025 10:53
@romange romange changed the title fix(dfly_bench): support dns resolution for cluster hosts and multipl… fix(dfly_bench): support dns resolution for cluster hosts Mar 6, 2025
@@ -104,9 +104,10 @@ static string GetRandomHex(size_t len) {
return res;
}

using SlotRange = pair<uint16_t, uint16_t>;
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 can include cluster_defs.h ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

i prefer to keep dfly_bench independent from the server.

@romange romange enabled auto-merge (squash) March 6, 2025 11:46
@romange romange merged commit 94d9cf7 into main Mar 6, 2025
10 checks passed
@romange romange deleted the Bench branch March 6, 2025 11:47
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.

None yet

2 participants