anchor.diff: -%% @copyright 2009-2012 Zuse Institute Berlin
  -%%            2010 onScale solutions GmbH
  +%% @copyright 2009-2013 Zuse Institute Berlin
   
   %   Licensed under the Apache License, Version 2.0 (the "License");
   %   you may not use this file except in compliance with the License.
  
positive.code:                   dht_node_state:state()) -> dht_node_state:state().
  %% messages handled in dht_node context:
  %% PreCond: check for DB responsibility must still be valid (ref. lookup_fin handling)
  on_init_TP({Tid, RTMs, Accs, TM, RTLogEntry, ItemId, PaxId, _SnapNo} = Params, DHT_Node_State) ->
      %?TRACE("tx_tp:on_init_TP({..., ...})~n", []),
      %% validate locally via callback
      DB = dht_node_state:get(DHT_Node_State, db),
  
negative.code:                     ?TRACE("~p tx_tp:update_db_or_forward db: ~p~n",[comm:this(),Res]),
                      ?TRACE("~p tx_tp:update_db_or_forward db data: ~p~n",[comm:this(),?DB:get_data(Res)]),
                      ?TRACE("~p tx_tp:update_db_or_forward snapshot data: ~p~n",[comm:this(),?DB:get_snapshot_data(Res)]);
                  _ ->
                      ok
              end,
              Res;
  