Module tx_tp

Part of generic transactions implementation using Paxos Commit The role of a transaction participant.

Copyright © 2009-2015 Zuse Institute Berlin

Version: $Id$

Authors: Florian Schintke (schintke@zib.de).

Description

Part of generic transactions implementation using Paxos Commit The role of a transaction participant.

Function Index

init/0
on_init_TP/2
on_do_commit_abort/4
on_do_commit_abort_fwd/7

Function Details

init/0

init() -> pdb:tableid()

on_init_TP/2

on_init_TP(X1 ::
               {tx_tm_rtm:tx_id(),
                [comm:mypid()],
                [comm:mypid()],
                comm:mypid(),
                tx_tlog:tlog_entry(),
                tx_tm_rtm:tx_item_id(),
                tx_tm_rtm:paxos_id(),
                tx_tlog:snap_number()},
           DHT_Node_State :: dht_node_state:state()) ->
              dht_node_state:state()

on_do_commit_abort/4

on_do_commit_abort(Id ::
                       {tx_tm_rtm:paxos_id(),
                        tx_tlog:tlog_entry(),
                        comm:mypid(),
                        tx_tm_rtm:tx_item_id()},
                   Result :: 73 | 74,
                   TMSnapNo :: tx_tlog:snap_number(),
                   DHT_Node_State :: dht_node_state:state()) ->
                      dht_node_state:state()

on_do_commit_abort_fwd/7

on_do_commit_abort_fwd(TM :: comm:mypid(),
                       TMItemId :: tx_tm_rtm:tx_item_id(),
                       RTLogEntry :: tx_tlog:tlog_entry(),
                       Result :: 73 | 74,
                       OwnProposal :: 72 | 74,
                       TMSnapNo :: non_neg_integer(),
                       DHT_Node_State :: dht_node_state:state()) ->
                          dht_node_state:state()


Generated by EDoc, Aug 2 2016, 13:43:21.