anchor.diff:      Pid = get_vnode(Idx, State),
       gen_fsm:send_event(Pid, Req),
       {noreply, State};
  -%% handle_cast({Partition, Msg}, State) ->
  -%%     Pid = get_vnode(Partition, State),
  -%%     gen_fsm:send_event(Pid, Msg),
  -%%     {noreply, State};
   handle_cast(Other, State=#state{legacy=Legacy}) when Legacy =/= undefined ->
       case catch Legacy:rewrite_cast(Other) of
           {ok, ?VNODE_REQ{}=Req} ->
  
positive.code:     spawn(
        fun() -> gen_fsm:send_all_state_event(Pid, Req?VNODE_REQ{sender=Sender}) end),
      {noreply, State};
  
  %% handle_call({Partition, Msg}, From, State) ->
  %%     Pid = get_vnode(Partition, State),
  %%     gen_fsm:send_event(Pid, {From, Msg}),
  %%     {noreply, State};
  handle_call(all_nodes, _From, State) ->
      {reply, lists:flatten(ets:match(State#state.idxtab, {idxrec, '_', '$1', '_'})), State};
  handle_call({Partition, get_vnode}, _From, State) ->
  
negative.code:             Pid;
          X -> X
      end.
  