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
6538a91e
Commit
6538a91e
authored
Jan 08, 2024
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.5 into 10.6
parents
8bd5a3de
0b612619
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
18 deletions
+10
-18
mysql-test/suite/innodb/t/doublewrite_debug.test
mysql-test/suite/innodb/t/doublewrite_debug.test
+0
-11
storage/innobase/buf/buf0flu.cc
storage/innobase/buf/buf0flu.cc
+3
-3
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+3
-0
storage/innobase/ibuf/ibuf0ibuf.cc
storage/innobase/ibuf/ibuf0ibuf.cc
+2
-1
storage/innobase/mtr/mtr0mtr.cc
storage/innobase/mtr/mtr0mtr.cc
+2
-3
No files found.
mysql-test/suite/innodb/t/doublewrite_debug.test
View file @
6538a91e
...
...
@@ -61,17 +61,6 @@ set global innodb_fil_make_page_dirty_debug = 0;
set
global
innodb_buf_flush_list_now
=
1
;
--
let
CLEANUP_IF_CHECKPOINT
=
drop
table
t1
,
unexpected_checkpoint
;
# Occasionally, a checkpoint would occur on the MSAN builder.
# We do not know the reason, because the failure can only be reproduced if there is
# enough load in that environment.
# Therefore, we allow the test to be skipped when run on MSAN.
# In other environments, we want the test to fail if a checkpoint occurs,
# so that we would catch it if it starts to happen regularly.
if
(
`select count(*) from information_schema.system_variables where variable_name='have_sanitizer' and global_value like "MSAN%"`
)
{
--
let
CLEANUP_IF_CHECKPOINT
=
drop
table
t1
;
}
--
source
../
include
/
no_checkpoint_end
.
inc
--
echo
# Make the 1st page (page_no=0) and 2nd page (page_no=1)
...
...
storage/innobase/buf/buf0flu.cc
View file @
6538a91e
...
...
@@ -2338,9 +2338,9 @@ static void buf_flush_page_cleaner()
do
{
DBUG_EXECUTE_IF
(
"ib_log_checkpoint_avoid"
,
continue
;);
DBUG_EXECUTE_IF
(
"ib_log_checkpoint_avoid_hard"
,
continue
;);
IF_DBUG
(
if
(
_db_keyword_
(
nullptr
,
"ib_log_checkpoint_avoid"
,
1
)
||
_db_keyword_
(
nullptr
,
"ib_log_checkpoint_avoid_hard"
,
1
))
continue
,);
if
(
!
recv_recovery_is_on
()
&&
!
srv_startup_is_before_trx_rollback_phase
&&
srv_operation
<=
SRV_OPERATION_EXPORT_RESTORED
)
...
...
storage/innobase/handler/ha_innodb.cc
View file @
6538a91e
...
...
@@ -18311,7 +18311,10 @@ buf_flush_list_now_set(THD*, st_mysql_sys_var*, void*, const void* save)
if
(
s
)
buf_flush_sync
();
else
{
while
(
buf_flush_list_space
(
fil_system
.
sys_space
,
nullptr
));
os_aio_wait_until_no_pending_writes
(
true
);
}
mysql_mutex_lock
(
&
LOCK_global_system_variables
);
}
...
...
storage/innobase/ibuf/ibuf0ibuf.cc
View file @
6538a91e
...
...
@@ -418,7 +418,8 @@ ibuf_init_at_db_start(void)
+
header_page
->
page
.
frame
,
&
ibuf
.
seg_size
,
&
mtr
);
do
{
DBUG_EXECUTE_IF
(
"intermittent_read_failure"
,
continue
;);
IF_DBUG
(
if
(
_db_keyword_
(
nullptr
,
"intermittent_read_failure"
,
1
))
continue
,);
ut_ad
(
ibuf
.
seg_size
>=
2
);
}
while
(
0
);
...
...
storage/innobase/mtr/mtr0mtr.cc
View file @
6538a91e
...
...
@@ -776,10 +776,9 @@ std::pair<lsn_t,mtr_t::page_flush_ahead> mtr_t::do_write()
#ifndef DBUG_OFF
do
{
if
(
m_log_mode
!=
MTR_LOG_ALL
)
if
(
m_log_mode
!=
MTR_LOG_ALL
||
_db_keyword_
(
nullptr
,
"skip_page_checksum"
,
1
))
continue
;
DBUG_EXECUTE_IF
(
"skip_page_checksum"
,
continue
;);
for
(
const
mtr_memo_slot_t
&
slot
:
m_memo
)
if
(
slot
.
type
&
MTR_MEMO_MODIFY
)
{
...
...
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