anchor.diff:                      ok;
                   commit ->
                       %% Write log record showing commit occurred.
  -                    true = ets:insert(?PARTICIPATING_TRANSACTIONS, {Id, Transaction#transaction{our_status=commit, uncertain=[]}}),
  +                    true = ets:insert(?PARTICIPATING_TRANSACTIONS, {Id, Transaction#transaction{participant_status=commit, uncertain=[]}}),
   
                       %% Notify uncertain.
                       lists:foreach(fun(N) ->
  
positive.code:     Manager = manager(),
  
      %% Durably store the message for recovery.
      true = ets:insert(?PARTICIPATING_TRANSACTIONS, {Id, Transaction#transaction{our_status=prepared}}),
  
      %% Set a timeout to hear about a decision.
      erlang:send_after(1000, self(), {participant_timeout, Id}),
  
negative.code: 
      %% Find transaction record.
      case ets:lookup(?COORDINATING_TRANSACTIONS, Id) of 
          [{_Id, #transaction{coordinator_status=CoordinatorStatus, participants=Participants, from=From} = Transaction0}] ->
              case CoordinatorStatus of 
                  committing ->
                      %% Can't do anything; block.
                      ok;
  