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
e9f26097
Commit
e9f26097
authored
May 09, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.2 into 10.3
parents
9be99dac
fe95cb2e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
20 deletions
+14
-20
storage/innobase/ibuf/ibuf0ibuf.cc
storage/innobase/ibuf/ibuf0ibuf.cc
+6
-10
storage/innobase/srv/srv0srv.cc
storage/innobase/srv/srv0srv.cc
+0
-5
storage/innobase/srv/srv0start.cc
storage/innobase/srv/srv0start.cc
+8
-5
No files found.
storage/innobase/ibuf/ibuf0ibuf.cc
View file @
e9f26097
...
...
@@ -4256,15 +4256,12 @@ ibuf_restore_pos(
return
(
TRUE
);
}
if
(
fil_space_get_flags
(
space
)
==
ULINT_UNDEFINED
)
{
/* The tablespace has been dropped. It is possible
that another thread has deleted the insert buffer
entry. Do not complain. */
ibuf_btr_pcur_commit_specify_mtr
(
pcur
,
mtr
);
}
else
{
ib
::
error
()
<<
"ibuf cursor restoration fails!."
if
(
fil_space_t
*
s
=
fil_space_acquire_silent
(
space
))
{
ib
::
error
()
<<
"ibuf cursor restoration fails!"
" ibuf record inserted to page "
<<
space
<<
":"
<<
page_no
;
<<
space
<<
":"
<<
page_no
<<
" in file "
<<
s
->
chain
.
start
->
name
;
s
->
release
();
ib
::
error
()
<<
BUG_REPORT_MSG
;
...
...
@@ -4274,10 +4271,9 @@ ibuf_restore_pos(
rec_print_old
(
stderr
,
page_rec_get_next
(
btr_pcur_get_rec
(
pcur
)));
ib
::
fatal
()
<<
"Failed to restore ibuf position."
;
}
ibuf_btr_pcur_commit_specify_mtr
(
pcur
,
mtr
);
return
(
FALSE
);
}
...
...
storage/innobase/srv/srv0srv.cc
View file @
e9f26097
...
...
@@ -2366,10 +2366,6 @@ DECLARE_THREAD(srv_master_thread)(
ut_a
(
slot
==
srv_sys
.
sys_threads
);
loop
:
if
(
srv_force_recovery
>=
SRV_FORCE_NO_BACKGROUND
)
{
goto
suspend_thread
;
}
while
(
srv_shutdown_state
==
SRV_SHUTDOWN_NONE
)
{
srv_master_sleep
();
...
...
@@ -2384,7 +2380,6 @@ DECLARE_THREAD(srv_master_thread)(
}
}
suspend_thread
:
switch
(
srv_shutdown_state
)
{
case
SRV_SHUTDOWN_NONE
:
break
;
...
...
storage/innobase/srv/srv0start.cc
View file @
e9f26097
...
...
@@ -2464,11 +2464,14 @@ dberr_t srv_start(bool create_new_db)
trx_temp_rseg_create
();
thread_handles
[
1
+
SRV_MAX_N_IO_THREADS
]
=
os_thread_create
(
srv_master_thread
,
NULL
,
thread_ids
+
(
1
+
SRV_MAX_N_IO_THREADS
));
thread_started
[
1
+
SRV_MAX_N_IO_THREADS
]
=
true
;
srv_start_state_set
(
SRV_START_STATE_MASTER
);
if
(
srv_force_recovery
<
SRV_FORCE_NO_BACKGROUND
)
{
thread_handles
[
1
+
SRV_MAX_N_IO_THREADS
]
=
os_thread_create
(
srv_master_thread
,
NULL
,
(
1
+
SRV_MAX_N_IO_THREADS
)
+
thread_ids
);
thread_started
[
1
+
SRV_MAX_N_IO_THREADS
]
=
true
;
srv_start_state_set
(
SRV_START_STATE_MASTER
);
}
}
if
(
!
srv_read_only_mode
&&
srv_operation
==
SRV_OPERATION_NORMAL
...
...
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