#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 |
◆ binlog_group_commit_ctx()
Retrieves the class member responsible for managing the interaction with Bgc_ticket_manager
.
- Returns
- The class member responsible for managing the interaction with
Bgc_ticket_manager
.
◆ 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=()
◆ post_filters_actions()
std::vector< std::function< bool()> > & Rpl_thd_context::post_filters_actions |
( |
| ) |
|
|
inline |
◆ 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()
◆ dump_thread_user
◆ m_binlog_group_commit_ctx
Manages interaction and keeps context w.r.t Bgc_ticket_manager
◆ m_dependency_tracker_ctx
◆ m_last_used_gtid_tracker_ctx
◆ m_post_filters_actions
std::vector<std::function<bool()> > Rpl_thd_context::m_post_filters_actions |
|
private |
◆ m_session_gtids_ctx
◆ m_transaction_compression_ctx
◆ m_tx_rpl_delegate_stage_status
Initial value:{
@ TX_RPL_STAGE_INIT
Definition: rpl_context.h:424
◆ rpl_channel_type
If this thread is a channel, what is its type.
The documentation for this class was generated from the following files: