RedisLabs/memtier_benchmark

Error reported when running with "--data-import"

DarrenJiang13 opened this issue · 1 comments

Problem

Hi guys, when I run the newest master branch with "--data-import", an error happened:

memtier_benchmark: obj_gen.cpp:438: const char* object_generator::get_value(long long unsigned int, unsigned int*): Assertion `0' failed.

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 solution
image

@DarrenJiang13 , thanks for reporting this bug.
You are right, the --data-import broke by commit 1c6735f, but unfortunately the fixed is not that simple.

I will work on a fix and update.