24#ifndef DD__BOOTSTRAP_CTX_INCLUDED
25#define DD__BOOTSTRAP_CTX_INCLUDED
200 uint compare_upgraded_server_version)
const {
206 uint compare_upgraded_server_version)
const {
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
Definition: bootstrap_ctx.h:98
bool I_S_upgrade_done() const
Definition: bootstrap_ctx.h:147
bool is_minor_downgrade() const
Definition: bootstrap_ctx.h:211
bool supported_server_version(uint version) const
Definition: bootstrap_ctx.h:153
bool supported_server_version() const
Definition: bootstrap_ctx.h:159
bool is_server_upgrade_from_after(uint compare_upgraded_server_version) const
Definition: bootstrap_ctx.h:205
bool is_server_upgrade_from_before(uint compare_upgraded_server_version) const
Definition: bootstrap_ctx.h:199
bool is_initialize() const
Definition: bootstrap_ctx.h:219
void set_I_S_upgrade_done()
Definition: bootstrap_ctx.h:142
uint m_actual_dd_version
Definition: bootstrap_ctx.h:101
uint m_did_I_S_upgrade_from
Definition: bootstrap_ctx.h:105
void set_upgraded_server_version(uint upgraded_server_version)
Definition: bootstrap_ctx.h:172
uint get_actual_dd_version() const
Definition: bootstrap_ctx.h:130
void set_dd_upgrade_done()
Definition: bootstrap_ctx.h:134
void set_actual_dd_version(uint actual_dd_version)
Definition: bootstrap_ctx.h:122
bool is_server_patch_downgrade() const
Definition: bootstrap_ctx.h:168
uint get_actual_I_S_version() const
Definition: bootstrap_ctx.h:132
bool is_restart() const
Definition: bootstrap_ctx.h:182
bool is_dd_upgrade() const
Definition: bootstrap_ctx.h:187
Stage m_stage
Definition: bootstrap_ctx.h:103
bool supported_dd_version() const
Definition: bootstrap_ctx.h:117
uint m_upgraded_server_version
Definition: bootstrap_ctx.h:102
static DD_bootstrap_ctx & instance()
Definition: bootstrap_ctx.cc:30
Stage get_stage() const
Definition: bootstrap_ctx.h:113
bool is_server_patch_downgrade(uint compare_server_version) const
Definition: bootstrap_ctx.h:163
DD_bootstrap_ctx()=default
uint get_upgraded_server_version() const
Definition: bootstrap_ctx.h:176
void set_stage(Stage stage)
Definition: bootstrap_ctx.h:115
bool is_server_upgrade() const
Definition: bootstrap_ctx.h:191
bool is_dd_upgrade_from_before(uint compare_actual_dd_version) const
Definition: bootstrap_ctx.h:195
uint m_did_dd_upgrade_from
Definition: bootstrap_ctx.h:100
bool upgraded_server_version_is(uint compare_upgraded_server_version) const
Definition: bootstrap_ctx.h:178
bool actual_dd_version_is(uint compare_actual_dd_version) const
Definition: bootstrap_ctx.h:149
uint m_actual_I_S_version
Definition: bootstrap_ctx.h:106
bool dd_upgrade_done() const
Definition: bootstrap_ctx.h:140
void set_actual_I_S_version(uint actual_I_S_version)
Definition: bootstrap_ctx.h:126
bool is_above_minor_downgrade_threshold(THD *thd) const
Definition: bootstrap_ctx.cc:35
bool compare_server_version(std::string ver1, std::string ver2)
Compares versions and determine if clone is allowed.
Definition: clone_protocol_service.cc:353
Some integer typedefs for easier portability.
#define MYSQL_VERSION_ID
Definition: mysql_version.h:15
bool opt_initialize
Definition: mysqld.cc:1244
Definition: bootstrap.cc:71
static constexpr uint DD_VERSION_80300
Definition: bootstrap_ctx.h:68
static constexpr uint DD_VERSION_80015
Definition: bootstrap_ctx.h:61
Stage
Definition: bootstrap_ctx.h:42
static constexpr uint SERVER_VERSION_80011
Definition: bootstrap_ctx.h:85
static constexpr uint DD_VERSION_80014
Definition: bootstrap_ctx.h:60
static constexpr uint SERVER_VERSION_80015
Definition: bootstrap_ctx.h:88
static constexpr uint DD_VERSION_80013
Definition: bootstrap_ctx.h:59
static constexpr uint DD_VERSION_80016
Definition: bootstrap_ctx.h:62
static constexpr uint DD_VERSION_80012
Definition: bootstrap_ctx.h:58
static std::set< uint > supported_dd_versions
Definition: bootstrap_ctx.h:78
static constexpr uint SERVER_VERSION_80400
Definition: bootstrap_ctx.h:90
static constexpr uint DD_VERSION_80023
Definition: bootstrap_ctx.h:66
static constexpr uint DD_VERSION_80200
Definition: bootstrap_ctx.h:67
static constexpr uint DD_VERSION_80022
Definition: bootstrap_ctx.h:65
static constexpr uint SERVER_VERSION_80013
Definition: bootstrap_ctx.h:86
static constexpr uint DD_VERSION_80021
Definition: bootstrap_ctx.h:64
static constexpr uint DD_VERSION_80017
Definition: bootstrap_ctx.h:63
static constexpr uint SERVER_VERSION_50700
Definition: bootstrap_ctx.h:84
static std::set< uint > unsupported_server_versions
Definition: bootstrap_ctx.h:96
static constexpr uint SERVER_VERSION_80014
Definition: bootstrap_ctx.h:87
static constexpr uint SERVER_VERSION_80016
Definition: bootstrap_ctx.h:89
static constexpr uint DD_VERSION_80011
Definition: bootstrap_ctx.h:57
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
static const uint DD_VERSION
Definition: dd_version.h:223
required uint64 version
Definition: replication_group_member_actions.proto:41