Skip to content

Commit

Permalink
WIP update the vnode status command as per fix on 2.0 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
russelldb committed Nov 11, 2014
1 parent 6d96d81 commit dc581bd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/riak_kv_vnode.erl
Original file line number Diff line number Diff line change
Expand Up @@ -718,9 +718,7 @@ handle_command(?KV_VNODE_STATUS_REQ{},
#counter_state{cnt=Cnt, lease=Lease, lease_size=LeaseSize, leasing=Leasing} = CS,
CounterStatus = [{counter, Cnt}, {counter_lease, Lease},
{counter_lease_size, LeaseSize}, {counter_leasing, Leasing}],
%% @TODO remove the counter/vnodeid, or at least make it _work_
%% with the stats code
VNodeStatus = [{backend, BackendStatus}, {vnodeid, VId} | CounterStatus],
VNodeStatus = [BackendStatus, {vnodeid, VId} | CounterStatus],
{reply, {vnode_status, Index, VNodeStatus}, State};
handle_command({reformat_object, BKey}, _Sender, State) ->
{Reply, UpdState} = do_reformat(BKey, State),
Expand Down

0 comments on commit dc581bd

Please sign in to comment.