-
Notifications
You must be signed in to change notification settings - Fork 218
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
Sample file for --data-import #51
Comments
By gdb'ing through the code, I was able to create a file that is read in properly. The file has to be structured in the exact format that Memtier expects, including spaces, so a sample file with the README would really help in my opinion. Now, I'm not really sure what to make of the results though. My very simple object file has the following: When I run 1 set command, I see: Does this mean that when I run 1 set, it writes to memcached then reads it back to verify the value? Not sure why it's getting "Not found"... |
I'm answering myself again, but I figured it out. First you need to run sets only without --verify-only, which actually writes to the cache, then you run sets only again with --verify-only, which verifies that the written data matches what's in the object file. I'm curious why gets don't work with --verify-only though. It's a bit counter-intuitive that only sets can be used. |
I generated the file in the same format by referring to yours. Below is an example of the first few entries. dumpflags, time, exptime, nbytes, nsuffix, it_flags, clsid, nkey, key, data I want to insert these as key value pairs using memcache_text. But I am getting this error- Do you know anything about this? |
I'd like to verify the output data of a Memcached server (using --data-verify) using binary protocol. The --data-verify flag requires to import a file using --data-import.
I've tried creating a file following the structure described in README.import, but I keep getting an error.
Would someone be able to provide a sample file for --data-import, and what the expected output of memtier_benchmark would be when running --data-verify with the file?
The text was updated successfully, but these errors were encountered: