anchor.diff:      node=Node,
       nodes=Nodes,
       gossip=Gossip}.
  +    
  +int_remove_node(OldNode, #membership{node=Node,partitions=Partitions,version=Version,nodes=OldNodes,gossip=Gossip}) ->
  +  Nodes = lists:delete(OldNode, OldNodes),
  +  P = partitions:map_partitions(Partitions, Nodes),
  +  ?infoFmt("removing node ~p~n", [OldNode]),
  +  #membership{
  +    partitions=P,
  +    version = vector_clock:increment(pid_to_list(self()), Version),
  +    node=Node,
  +    nodes=Nodes,
  +    gossip=Gossip
  +  }.
     
   int_partitions_for_node(Node, State, master) ->
     Partitions = State#membership.partitions,
  
positive.code:   save_state(NewState),
    partition_list_into_ptable(Partitions, Table),
    {reply, {ok, NewState}, NewState};
  	
  handle_call({replica_nodes, Node}, _From, State) ->
    {reply, int_replica_nodes(Node, State), State};
  
negative.code: 	
  nodes_for_partition(Partition) ->
    gen_server:call(membership, {nodes_for_partition, Partition}).
  	
  remove_node(Node) ->
    gen_server:call(membership, {remove_node, Node}).
  	
  nodes_for_key(Key) ->
    gen_server:call(membership, {nodes_for_key, Key}).
  