#include <rpl_context.h>
◆ enum_transaction_rpl_delegate_status
This structure helps to maintain state of transaction.
State of transaction is w.r.t delegates Please refer Trans_delegate to understand states being referred.
Enumerator |
---|
TX_RPL_STAGE_INIT | |
TX_RPL_STAGE_BEGIN | |
TX_RPL_STAGE_CACHE_CREATED | |
TX_RPL_STAGE_BEFORE_COMMIT | |
TX_RPL_STAGE_BEFORE_ROLLBACK | |
TX_RPL_STAGE_CONNECTION_CLEANED | |
TX_RPL_STAGE_END | |
◆ Rpl_thd_context() [1/2]
◆ Rpl_thd_context() [2/2]
Rpl_thd_context::Rpl_thd_context |
( |
| ) |
|
|
inline |
◆ dependency_tracker_ctx()
◆ get_rpl_channel_type()
◆ get_tx_rpl_delegate_stage_status()
Returns the transaction state.
- Returns
- status transaction status is returned
◆ init()
void Rpl_thd_context::init |
( |
| ) |
|
Initializers.
Clears the writeset session history and re-set delegate state to INIT.
◆ last_used_gtid_tracker_ctx()
◆ operator=()
◆ session_gtids_ctx()
◆ set_rpl_channel_type()
◆ set_tx_rpl_delegate_stage_status()
Sets the transaction states.
- Parameters
-
[in] | status | state to which THD is progressing |
◆ transaction_compression_ctx()
◆ m_dependency_tracker_ctx
◆ m_last_used_gtid_tracker_ctx
◆ m_session_gtids_ctx
◆ m_transaction_compression_ctx
◆ m_tx_rpl_delegate_stage_status
Initial value:{
@ TX_RPL_STAGE_INIT
Definition: rpl_context.h:289
◆ rpl_channel_type
If this thread is a channel, what is its type.
The documentation for this class was generated from the following files: