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
bb450b1f
Commit
bb450b1f
authored
Oct 12, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.2 into 10.3
parents
8e3d85e1
361e8284
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
storage/innobase/btr/btr0btr.cc
storage/innobase/btr/btr0btr.cc
+5
-3
storage/innobase/buf/buf0flu.cc
storage/innobase/buf/buf0flu.cc
+7
-0
No files found.
storage/innobase/btr/btr0btr.cc
View file @
bb450b1f
...
...
@@ -759,9 +759,11 @@ void btr_page_free(dict_index_t* index, buf_block_t* block, mtr_t* mtr,
ut_ad
(
mtr_memo_contains
(
mtr
,
block
,
MTR_MEMO_PAGE_X_FIX
));
if
(
srv_immediate_scrub_data_uncompressed
)
{
/* In MDEV-15528 this call must be removed, and we should
zero out the page after the redo log for this mini-transaction
has been durably written. */
/* In MDEV-15528 this code must be removed and the
check in buf_flush_init_for_writing() re-enabled. We
should zero out the page after the redo log for this
mini-transaction has been durably written. The log
would include the 10.4 MLOG_INIT_FREE_PAGE record. */
fsp_init_file_page
(
index
->
table
->
space
,
block
,
mtr
);
}
}
...
...
storage/innobase/buf/buf0flu.cc
View file @
bb450b1f
...
...
@@ -857,7 +857,14 @@ buf_flush_init_for_writing(
||
&
block
->
page
.
zip
==
page_zip_
);
ut_ad
(
!
block
||
newest_lsn
);
ut_ad
(
page
);
#if 0 /* MDEV-15528 TODO: reinstate this check */
/* innodb_immediate_scrub_data_uncompressed=ON would cause
fsp_init_file_page() to be called on freed pages, and thus
cause them to be written as almost-all-zeroed.
In MDEV-15528 we should change that implement an option to
make freed pages appear all-zero, bypassing this code. */
ut_ad(!newest_lsn || fil_page_get_type(page));
#endif
if
(
page_zip_
)
{
page_zip_des_t
*
page_zip
;
...
...
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