> In fact, I tried this way. But by this way keys will be changed to binaries, > so I do not know what the exactly key is.I mean, if I want to check whether > my insert succeeded or not with a http get request, what should I do?
In that case, int_to_binstr is the keygen you want. On Sun, Mar 9, 2014 at 10:32 PM, yaochitc <[email protected]> wrote: > > 2014-3-10 下午1:08于 "Evan Vigil-McClanahan" <[email protected]>写道: > > >> >> Please try the int_to_bin_bigendian generator. >> >> On Sun, Mar 9, 2014 at 8:48 PM, yaochitc <[email protected]> wrote: >> > Hello, I'm trying to do some test with basho bench, using the >> > basho_bench_driver_riakc_pb. It seems that a number string key is >> > unsupported under this driver because all threads crashed when >> > generators as >> > "{key_generator, {int_to_str, {uniform_int, 10000}}}" used.But >> > everything >> > works fine with operations of get or get_existing.So I wonder if I can >> > insert a data with such a key without writing a new driver.Please tell >> > me >> > the way to configure if supported.Thanks in advance. >> > >> > _______________________________________________ >> > riak-users mailing list >> > [email protected] >> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> > > In fact, I tried this way. But by this way keys will be changed to binaries, > so I do not know what the exactly key is.I mean, if I want to check whether > my insert succeeded or not with a http get request, what should I do? _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
