24#ifndef DD__BOOTSTRAP_CTX_INCLUDED
25#define DD__BOOTSTRAP_CTX_INCLUDED
201 uint compare_upgraded_server_version)
const {
207 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:99
bool I_S_upgrade_done() const
Definition: bootstrap_ctx.h:148
bool is_minor_downgrade() const
Definition: bootstrap_ctx.h:212
bool supported_server_version(uint version) const
Definition: bootstrap_ctx.h:154
bool supported_server_version() const
Definition: bootstrap_ctx.h:160
bool is_server_upgrade_from_after(uint compare_upgraded_server_version) const
Definition: bootstrap_ctx.h:206
bool is_server_upgrade_from_before(uint compare_upgraded_server_version) const
Definition: bootstrap_ctx.h:200
bool is_initialize() const
Definition: bootstrap_ctx.h:220
void set_I_S_upgrade_done()
Definition: bootstrap_ctx.h:143
uint m_actual_dd_version
Definition: bootstrap_ctx.h:102
uint m_did_I_S_upgrade_from
Definition: bootstrap_ctx.h:106
void set_upgraded_server_version(uint upgraded_server_version)
Definition: bootstrap_ctx.h:173
uint get_actual_dd_version() const
Definition: bootstrap_ctx.h:131
void set_dd_upgrade_done()
Definition: bootstrap_ctx.h:135
void set_actual_dd_version(uint actual_dd_version)
Definition: bootstrap_ctx.h:123
bool is_server_patch_downgrade() const
Definition: bootstrap_ctx.h:169
uint get_actual_I_S_version() const
Definition: bootstrap_ctx.h:133
bool is_restart() const
Definition: bootstrap_ctx.h:183
bool is_dd_upgrade() const
Definition: bootstrap_ctx.h:188
Stage m_stage
Definition: bootstrap_ctx.h:104
bool supported_dd_version() const
Definition: bootstrap_ctx.h:118
uint m_upgraded_server_version
Definition: bootstrap_ctx.h:103
static DD_bootstrap_ctx & instance()
Definition: bootstrap_ctx.cc:30
Stage get_stage() const
Definition: bootstrap_ctx.h:114
bool is_server_patch_downgrade(uint compare_server_version) const
Definition: bootstrap_ctx.h:164
DD_bootstrap_ctx()=default
uint get_upgraded_server_version() const
Definition: bootstrap_ctx.h:177
void set_stage(Stage stage)
Definition: bootstrap_ctx.h:116
bool is_server_upgrade() const
Definition: bootstrap_ctx.h:192
bool is_dd_upgrade_from_before(uint compare_actual_dd_version) const
Definition: bootstrap_ctx.h:196
uint m_did_dd_upgrade_from
Definition: bootstrap_ctx.h:101
bool upgraded_server_version_is(uint compare_upgraded_server_version) const
Definition: bootstrap_ctx.h:179
bool actual_dd_version_is(uint compare_actual_dd_version) const
Definition: bootstrap_ctx.h:150
uint m_actual_I_S_version
Definition: bootstrap_ctx.h:107
bool dd_upgrade_done() const
Definition: bootstrap_ctx.h:141
void set_actual_I_S_version(uint actual_I_S_version)
Definition: bootstrap_ctx.h:127
bool is_above_minor_downgrade_threshold(THD *thd) const
Definition: bootstrap_ctx.cc:35
Some integer typedefs for easier portability.
#define MYSQL_VERSION_ID
Definition: mysql_version.h:15
bool opt_initialize
Definition: mysqld.cc:1251
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:86
static constexpr uint DD_VERSION_80014
Definition: bootstrap_ctx.h:60
static constexpr uint SERVER_VERSION_80015
Definition: bootstrap_ctx.h:89
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:79
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:87
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:85
static std::set< uint > unsupported_server_versions
Definition: bootstrap_ctx.h:97
static constexpr uint SERVER_VERSION_90100
Definition: bootstrap_ctx.h:91
static constexpr uint SERVER_VERSION_80014
Definition: bootstrap_ctx.h:88
static constexpr uint SERVER_VERSION_80016
Definition: bootstrap_ctx.h:90
static constexpr uint DD_VERSION_80011
Definition: bootstrap_ctx.h:57
static constexpr uint DD_VERSION_80400
Definition: bootstrap_ctx.h:69
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
static const uint DD_VERSION
Definition: dd_version.h:228
required uint64 version
Definition: replication_group_member_actions.proto:41