anchor.diff:           terminate/2,
            code_change/3]).
   
  --compile([{parse_transform, lager_transform}]).
  -
   -record(state, {next_id, membership}).
   
   -record(transaction, {id,
  
positive.code: 
      %% Start with initial membership.
      {ok, Membership} = partisan_peer_service:members(),
      lager:info("Starting with membership: ~p", [Membership]),
  
      {ok, #state{next_id=0, membership=membership(Membership)}}.
  
  %% @private
  handle_call(Msg, _From, State) ->
      lager:warning("Unhandled call messages at module ~p: ~p", [?MODULE, Msg]),
      {reply, ok, State}.
  
  %% @private
  
negative.code: 
                      ok;
                  false ->
                      partisan_logger:info("Not all participants have aborted yet: ~p != ~p", [Aborted, Participants]),
  
                      %% Update local state.
                      true = ets:insert(?COORDINATING_TRANSACTIONS, {Id, Transaction#transaction{aborted=Aborted}}),
  