anchor.diff:      case ErrCode of
           new -> ok; %% already finished, nothing to be done
           uninitialized ->
  -            %% cannot happen, as isdone is triggered by initialize
  -            log:log(warn, "isdone detected uninitialized!~n"),
  -            ok; %% can that happen? Yes. We should delete it?!
  +            %% can happen when already cleaned up at tm
  +            ok;
           ok ->
               %% This tx is a bit slow. Start fds on the participants
               %% and then take over on crash messages.  When not enough
  
positive.code:             %% @TODO majority informed is sufficient?!
              case tx_state_all_tps_informed(TxState)
                       andalso ((tx_state_get_numids(TxState) =:= tx_state_get_numcommitack(TxState))
                               orelse (tx_tm =/= state_get_role(State)))
                  %%    andalso tx_state_all_tps_registered(TxState)
              of
                  true ->
  
negative.code:     State;
  
  %% this tx is finished and enough TPs were informed, delete the state
  on({?tx_tm_rtm_delete, TxId, Decision}, State) ->
      ?TRACE("tx_tm_rtm:on({delete, ~p, ~p}) in ~p ~n",
             [TxId, Decision, state_get_role(State)]),
      {ErrCode, TxState} = get_tx_entry(TxId, State),
  