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
70fffc70
Commit
70fffc70
authored
Jun 20, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.8 into 10.9
parents
a9fe6467
325e6aa7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
storage/innobase/log/log0recv.cc
storage/innobase/log/log0recv.cc
+3
-6
No files found.
storage/innobase/log/log0recv.cc
View file @
70fffc70
...
@@ -2918,7 +2918,7 @@ static buf_block_t *recv_recover_page(buf_block_t *block, mtr_t &mtr,
...
@@ -2918,7 +2918,7 @@ static buf_block_t *recv_recover_page(buf_block_t *block, mtr_t &mtr,
const
log_phys_t
*
l
=
static_cast
<
const
log_phys_t
*>
(
recv
);
const
log_phys_t
*
l
=
static_cast
<
const
log_phys_t
*>
(
recv
);
ut_ad
(
l
->
lsn
);
ut_ad
(
l
->
lsn
);
ut_ad
(
end_lsn
<=
l
->
lsn
);
ut_ad
(
end_lsn
<=
l
->
lsn
);
ut_ad
(
l
->
lsn
<=
log_sys
.
get_lsn
()
);
ut_ad
(
l
->
lsn
<=
recv_sys
.
lsn
);
ut_ad
(
l
->
start_lsn
);
ut_ad
(
l
->
start_lsn
);
ut_ad
(
recv_start_lsn
<=
l
->
start_lsn
);
ut_ad
(
recv_start_lsn
<=
l
->
start_lsn
);
...
@@ -3561,13 +3561,11 @@ void recv_sys_t::apply(bool last_batch)
...
@@ -3561,13 +3561,11 @@ void recv_sys_t::apply(bool last_batch)
if
(
last_batch
&&
srv_operation
!=
SRV_OPERATION_RESTORE
&&
if
(
last_batch
&&
srv_operation
!=
SRV_OPERATION_RESTORE
&&
srv_operation
!=
SRV_OPERATION_RESTORE_EXPORT
)
srv_operation
!=
SRV_OPERATION_RESTORE_EXPORT
)
/* Instead of flushing, last_batch sorts the buf_pool.flush_list
in ascending order of buf_page_t::oldest_modification. */
log_sort_flush_list
();
log_sort_flush_list
();
else
else
{
/* Instead of flushing, last_batch could sort the buf_pool.flush_list
in ascending order of buf_page_t::oldest_modification. */
buf_flush_sync_batch
(
lsn
);
buf_flush_sync_batch
(
lsn
);
}
if
(
!
last_batch
)
if
(
!
last_batch
)
{
{
...
@@ -3738,7 +3736,6 @@ static bool recv_scan_log(bool last_phase)
...
@@ -3738,7 +3736,6 @@ static bool recv_scan_log(bool last_phase)
else
else
{
{
ut_ad
(
store
==
STORE_IF_EXISTS
);
ut_ad
(
store
==
STORE_IF_EXISTS
);
log_sys
.
set_recovered_lsn
(
recv_sys
.
lsn
);
recv_sys
.
apply
(
false
);
recv_sys
.
apply
(
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