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: make sure dfly_bench reliably connects #3802

Merged
merged 1 commit into from
Sep 26, 2024
Merged

fix: make sure dfly_bench reliably connects #3802

merged 1 commit into from
Sep 26, 2024

Conversation

romange
Copy link
Collaborator

@romange romange commented Sep 26, 2024

  1. Issue ping upon connect, add a comment why.
  2. log error if dfly_bench disconnects before all the requests were processed.
  3. Refactor memcache parsing code into ParseMC function.

@romange romange requested a review from chakaz September 26, 2024 11:43
void Driver::ParseMC() {
unsigned blob_len = 0;

while (true) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

just moved the code here.

1. Issue ping upon connect, add a comment why.
2. log error if dfly_bench disconnects before all the requests were processed.
3. Refactor memcache parsing code into ParseMC function.

Signed-off-by: Roman Gershman <[email protected]>
@romange romange merged commit 6a13329 into main Sep 26, 2024
12 checks passed
@romange romange deleted the Pr2 branch September 26, 2024 20:28
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