diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-01-22 18:52:36 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-02-13 18:19:14 +0200 |
commit | db5cdc31956f872bef217c9d1b56fb23dba3a8cf (patch) | |
tree | 5091ee5e9df9f707c0edd76672db954656d2f568 /storage/innobase/btr/btr0defragment.cc | |
parent | 276f996af917851b9c5fef4a41f93e68d398af36 (diff) | |
download | mariadb-git-db5cdc31956f872bef217c9d1b56fb23dba3a8cf.tar.gz |
MDEV-12353: Replace MLOG_PAGE_REORGANIZE, MLOG_COMP_PAGE_REORGANIZE
Log page reorganize as a series of insert operations.
This will make the redo log volume proportional to the page payload size.
btr_page_reorganize_low(): Add template <bool recovery=false>
btr_page_reorganize_block(): Remove the parameter 'bool recovery'
Diffstat (limited to 'storage/innobase/btr/btr0defragment.cc')
-rw-r--r-- | storage/innobase/btr/btr0defragment.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/btr/btr0defragment.cc b/storage/innobase/btr/btr0defragment.cc index bae0731013c..9e1c0c6fad8 100644 --- a/storage/innobase/btr/btr0defragment.cc +++ b/storage/innobase/btr/btr0defragment.cc @@ -1,7 +1,7 @@ /***************************************************************************** Copyright (C) 2012, 2014 Facebook, Inc. All Rights Reserved. -Copyright (C) 2014, 2019, MariaDB Corporation. +Copyright (C) 2014, 2020, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -444,7 +444,7 @@ btr_defragment_merge_pages( // reorganizing the page, otherwise we need to reorganize the page // first to release more space. if (move_size > max_ins_size) { - if (!btr_page_reorganize_block(false, page_zip_level, + if (!btr_page_reorganize_block(page_zip_level, to_block, index, mtr)) { if (!dict_index_is_clust(index) |