basho / riak_pipe

Riak Pipelines
Apache License 2.0
162 stars 60 forks source link

Allow {mod, fun} tuples instead of anonymous funs for chash and nval (AZ561) #31

Closed beerriot closed 13 years ago

beerriot commented 13 years ago

Anonymous funs are too brittle: they break during rolling upgrades, when nodes do not share a common version of a module. This patch allows using {Module, Function} tuples for chash and nval instead.

The tuples are allowed, but not used, here to give an intermediate step for upgrading from 1.0.1->1.0.2->1.1.0. (This is the 1.0.2 step.)

kellymclaughlin commented 13 years ago

+1 to merge.