Re: Custom hashing (partitioning) functions

2014-01-30 Thread Sargun Dhillon
://github.com/basho/riak_kv/issues On Mon, Jan 20, 2014 at 3:08 PM, Sargun Dhillon sar...@sargun.me wrote: So, I don't know how many people are aware of if, but Riak supports custom hashing (partitioning) functions. It's exposed as a bucket property (chash_keyfun), in which you can deploy your own

Re: Custom hashing (partitioning) functions

2014-01-21 Thread Sean Cribbs
Sargun, That might indeed be a bug. Would you file it on the issue tracker? https://github.com/basho/riak_kv/issues On Mon, Jan 20, 2014 at 3:08 PM, Sargun Dhillon sar...@sargun.me wrote: So, I don't know how many people are aware of if, but Riak supports custom hashing (partitioning

Custom hashing (partitioning) functions

2014-01-20 Thread Sargun Dhillon
So, I don't know how many people are aware of if, but Riak supports custom hashing (partitioning) functions. It's exposed as a bucket property (chash_keyfun), in which you can deploy your own code to hash keys to ensure data locality to specific vnodes. This can come in handy when doing custom