24#ifndef DD__BOOTSTRAP_CTX_INCLUDED
25#define DD__BOOTSTRAP_CTX_INCLUDED
197 uint compare_upgraded_server_version)
const {
203 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:34
Definition: bootstrap_ctx.h:95
bool I_S_upgrade_done() const
Definition: bootstrap_ctx.h:144
bool is_minor_downgrade() const
Definition: bootstrap_ctx.h:208
bool supported_server_version(uint version) const
Definition: bootstrap_ctx.h:150
bool supported_server_version() const
Definition: bootstrap_ctx.h:156
bool is_server_upgrade_from_after(uint compare_upgraded_server_version) const
Definition: bootstrap_ctx.h:202
bool is_server_upgrade_from_before(uint compare_upgraded_server_version) const
Definition: bootstrap_ctx.h:196
bool is_initialize() const
Definition: bootstrap_ctx.h:216
void set_I_S_upgrade_done()
Definition: bootstrap_ctx.h:139
uint m_actual_dd_version
Definition: bootstrap_ctx.h:98
uint m_did_I_S_upgrade_from
Definition: bootstrap_ctx.h:102
void set_upgraded_server_version(uint upgraded_server_version)
Definition: bootstrap_ctx.h:169
uint get_actual_dd_version() const
Definition: bootstrap_ctx.h:127
void set_dd_upgrade_done()
Definition: bootstrap_ctx.h:131
void set_actual_dd_version(uint actual_dd_version)
Definition: bootstrap_ctx.h:119
bool is_server_patch_downgrade() const
Definition: bootstrap_ctx.h:165
uint get_actual_I_S_version() const
Definition: bootstrap_ctx.h:129
bool is_restart() const
Definition: bootstrap_ctx.h:179
bool is_dd_upgrade() const
Definition: bootstrap_ctx.h:184
Stage m_stage
Definition: bootstrap_ctx.h:100
bool supported_dd_version() const
Definition: bootstrap_ctx.h:114
uint m_upgraded_server_version
Definition: bootstrap_ctx.h:99
static DD_bootstrap_ctx & instance()
Definition: bootstrap_ctx.cc:30
Stage get_stage() const
Definition: bootstrap_ctx.h:110
bool is_server_patch_downgrade(uint compare_server_version) const
Definition: bootstrap_ctx.h:160
DD_bootstrap_ctx()=default
uint get_upgraded_server_version() const
Definition: bootstrap_ctx.h:173
void set_stage(Stage stage)
Definition: bootstrap_ctx.h:112
bool is_server_upgrade() const
Definition: bootstrap_ctx.h:188
bool is_dd_upgrade_from_before(uint compare_actual_dd_version) const
Definition: bootstrap_ctx.h:192
uint m_did_dd_upgrade_from
Definition: bootstrap_ctx.h:97
bool upgraded_server_version_is(uint compare_upgraded_server_version) const
Definition: bootstrap_ctx.h:175
bool actual_dd_version_is(uint compare_actual_dd_version) const
Definition: bootstrap_ctx.h:146
uint m_actual_I_S_version
Definition: bootstrap_ctx.h:103
bool dd_upgrade_done() const
Definition: bootstrap_ctx.h:137
void set_actual_I_S_version(uint actual_I_S_version)
Definition: bootstrap_ctx.h:123
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:351
Some integer typedefs for easier portability.
#define MYSQL_VERSION_ID
Definition: mysql_version.h:15
bool opt_initialize
Definition: mysqld.cc:1227
Definition: bootstrap.cc:70
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:83
static constexpr uint DD_VERSION_80014
Definition: bootstrap_ctx.h:60
static constexpr uint SERVER_VERSION_80015
Definition: bootstrap_ctx.h:86
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:76
static constexpr uint DD_VERSION_80023
Definition: bootstrap_ctx.h:66
static constexpr uint DD_VERSION_80022
Definition: bootstrap_ctx.h:65
static constexpr uint SERVER_VERSION_80013
Definition: bootstrap_ctx.h:84
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:82
static std::set< uint > unsupported_server_versions
Definition: bootstrap_ctx.h:93
static constexpr uint SERVER_VERSION_80014
Definition: bootstrap_ctx.h:85
static constexpr uint SERVER_VERSION_80016
Definition: bootstrap_ctx.h:87
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:210
required uint64 version
Definition: replication_group_member_actions.proto:41
unsigned int uint
Definition: uca9-dump.cc:75