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
3ef3c467
Commit
3ef3c467
authored
Mar 02, 2017
by
Daniele Sciascia
Committed by
Jan Lindström
Aug 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MW-365 Do not load/dump innodb buffer pool with wsrep_recover
parent
90642637
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
storage/innobase/buf/buf0dump.cc
storage/innobase/buf/buf0dump.cc
+15
-0
No files found.
storage/innobase/buf/buf0dump.cc
View file @
3ef3c467
...
...
@@ -41,6 +41,9 @@ Created April 08, 2011 Vasil Dimov
#include "sync0rw.h"
/* rw_lock_s_lock() */
#include "ut0byte.h"
/* ut_ull_create() */
#include "ut0sort.h"
/* UT_SORT_FUNCTION_BODY */
#ifdef WITH_WSREP
extern
my_bool
wsrep_recovery
;
#endif
/* WITH_WSREP */
enum
status_severity
{
STATUS_INFO
,
...
...
@@ -689,7 +692,13 @@ DECLARE_THREAD(buf_dump_thread)(
buf_load_status
(
STATUS_INFO
,
"not started"
);
if
(
srv_buffer_pool_load_at_startup
)
{
#ifdef WITH_WSREP
if
(
!
wsrep_recovery
)
{
#endif
/* WITH_WSREP */
buf_load
();
#ifdef WITH_WSREP
}
#endif
/* WITH_WSREP */
}
while
(
!
SHUTTING_DOWN
())
{
...
...
@@ -713,8 +722,14 @@ DECLARE_THREAD(buf_dump_thread)(
}
if
(
srv_buffer_pool_dump_at_shutdown
&&
srv_fast_shutdown
!=
2
)
{
#ifdef WITH_WSREP
if
(
!
wsrep_recovery
)
{
#endif
/* WITH_WSREP */
buf_dump
(
FALSE
/* ignore shutdown down flag,
keep going even if we are in a shutdown state */
);
#ifdef WITH_WSREP
}
#endif
/* WITH_WSREP */
}
srv_buf_dump_thread_active
=
FALSE
;
...
...
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