Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
9669536c
Commit
9669536c
authored
Nov 26, 2018
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-17811: Add deprecation information for xtrabackup
parent
2a31b828
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+18
-0
No files found.
storage/innobase/handler/ha_innodb.cc
View file @
9669536c
...
...
@@ -154,6 +154,7 @@ innodb_check_deprecated(void);
#include "dict0priv.h"
#include "ut0byte.h"
#include <mysql/service_md5.h>
#include "wsrep_sst.h"
extern
MYSQL_PLUGIN_IMPORT
MYSQL_BIN_LOG
mysql_bin_log
;
...
...
@@ -3860,6 +3861,23 @@ innobase_init(
ib
::
info
()
<<
"For Galera, using innodb_lock_schedule_algorithm=fcfs"
;
innodb_lock_schedule_algorithm
=
INNODB_LOCK_SCHEDULE_ALGORITHM_FCFS
;
}
/* Print deprecation info if xtrabackup is used for SST method */
if
(
global_system_variables
.
wsrep_on
&&
wsrep_sst_method
&&
(
!
strcmp
(
wsrep_sst_method
,
"xtrabackup"
)
||
!
strcmp
(
wsrep_sst_method
,
"xtrabackup-v2"
)))
{
ib
::
info
()
<<
"Galera SST method xtrabackup is deprecated and the "
" support for it may be removed in future releases."
;
/* We can't blindly turn on this as it will cause a
modification of the redo log format identifier. See
MDEV-13564 for more information. */
if
(
!
srv_safe_truncate
)
{
ib
::
info
()
<<
"Requested xtrabackup based SST for Galera but"
<<
"innodb_safe_truncate is disabled."
;
}
}
#endif
/* WITH_WSREP */
#ifndef HAVE_LZ4
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment