basho/riak_core — pull request #145 by jtuple (2012-02-24 23:49:45+00:00)
Title: Fix map_reduce during rolling upgrade to 1.1.

Resolve issue #144.

Change riak_core_vnode_master to still handle return_vnode messages
given that pre-1.1 nodes may still send those messages to a 1.1 node.

Add legacy routing logic to riak_core_vnode_master:command_return_vnode
in order to properly send messages to pre-1.0 nodes that do not have
vnode proxy processes.

To verify: generate a mixed Riak 1.0 and Riak 1.1 cluster. Without these changes, issuing a map_reduce job against the cluster will fail. With these changes, it will pass.