Skip to content

Return partition and nodename as tuple when replying to the read FSM

Heinz N. Gies requested to merge gh-522050ed/15/outlyerapp/read-repair-bugfix into test

Created by: davecromberge

When a get request is serviced from cache, the metric vnode responds with information about it's partition, but not the nodename. This information is used by the read FSM to issue commands to repair any data that is in conflict.

This PR fixes/enforces the 2-tuple convention that is required by riak-core, when issuing a command. This is only enforced on a get, since the rest of the commands seem to use a well formed preference list (a list of 2 tuples). The repair scenario seems to be the only case where a destination tuple singleton is used to address a command to a specific VNode directly, by dalmatiner.

Merge request reports