Closed hazen closed 10 years ago
When performing a map-reduce, if there are not sufficient vnodes, riak will reply:
{"error":"insufficient_vnodes_available"}
This causes the client to segfault.
Edit: In fact, any error will. Invalid JSON, JS, etc.
After fixing problem in client example, this works as expected. the map-reduce result is returned correctly or an error is reported. I replicated the example at http://docs.basho.com/riak/latest/dev/using/mapreduce/ using the riak_c_example
:+1:
Queue up behind other changes, but basically is simple M/R implementation.