-
Notifications
You must be signed in to change notification settings - Fork 208
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
Error reported when running with "--data-import" #238
Comments
@DarrenJiang13 , thanks for reporting this bug. I will work on a fix and update. |
YaacovHazan
added a commit
to YaacovHazan/memtier_benchmark
that referenced
this issue
Oct 31, 2023
The PR includes some refactoring and cleanup around the following: object_generator - generate_key(), a new function that generates a key and stores it inside internal buffer (no need for a buffer at client level) import_object_generator - Align it to object_generator APIs of getting key/value/expire - read_next_item - new function for reading the next item before creating SET command - read_next_key - new function for reading (pointing) to the next key before creating the GET command data_object - removed. We were already getting key/value/expire separately. Now that data-import and verify-data also moved to do it like that, we could remove it completely. verify_client - unify the craate_request with its base class, and derive the create_x_request functions.
filipecosta90
added a commit
that referenced
this issue
Dec 2, 2023
* see #238, data import broken The PR includes some refactoring and cleanup around the following: object_generator - generate_key(), a new function that generates a key and stores it inside internal buffer (no need for a buffer at client level) import_object_generator - Align it to object_generator APIs of getting key/value/expire - read_next_item - new function for reading the next item before creating SET command - read_next_key - new function for reading (pointing) to the next key before creating the GET command data_object - removed. We were already getting key/value/expire separately. Now that data-import and verify-data also moved to do it like that, we could remove it completely. verify_client - unify the craate_request with its base class, and derive the create_x_request functions. * Included data import test cases * Cluster mode cannot be specified when importing * Fixed merge of tests from master --------- Co-authored-by: YaacovHazan <yaacov.hazan@redis.com> Co-authored-by: filipecosta90 <filipecosta.90@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Hi guys, when I run the newest master branch with "--data-import", an error happened:
And I found this is brought by commit 1c6735f , before this commit "--data-import" worked OK.
Discussion
IMHO the problem should be in
client::create_set_request()
. I change it like this and things go right. But I am not sure this is the right solutionThe text was updated successfully, but these errors were encountered: