Merge lp:~laurynas-biveinis/percona-server/rm-lazy-drop-table-5.5 into lp:percona-server/5.5
Status: | Merged |
---|---|
Approved by: | Alexey Kopytov |
Approved revision: | no longer in the source branch. |
Merged at revision: | 496 |
Proposed branch: | lp:~laurynas-biveinis/percona-server/rm-lazy-drop-table-5.5 |
Merge into: | lp:percona-server/5.5 |
Diff against target: |
406 lines (+14/-185) (has conflicts) 10 files modified
Percona-Server/storage/innobase/buf/buf0buf.c (+0/-74) Percona-Server/storage/innobase/buf/buf0flu.c (+1/-8) Percona-Server/storage/innobase/buf/buf0lru.c (+0/-40) Percona-Server/storage/innobase/fil/fil0fil.c (+0/-49) Percona-Server/storage/innobase/handler/ha_innodb.cc (+8/-2) Percona-Server/storage/innobase/include/buf0buf.h (+5/-0) Percona-Server/storage/innobase/include/buf0buf.ic (+0/-1) Percona-Server/storage/innobase/include/buf0lru.h (+0/-7) Percona-Server/storage/innobase/include/srv0srv.h (+0/-2) Percona-Server/storage/innobase/srv/srv0srv.c (+0/-2) Text conflict in Percona-Server/storage/innobase/include/buf0buf.h |
To merge this branch: | bzr merge lp:~laurynas-biveinis/percona-server/rm-lazy-drop-table-5.5 |
Related bugs: |
|
Related blueprints: |
Remove the lazy drop table
(High)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Review via email:
|
Description of the change
Remove the lazy drop table implementation, implementing
https:/
Coincidentally this also fixes:
- bug 1086227 (InnoDB: Assertion failure in thread <nr> in file
dict0dict.c line 1883 | in dict_index_
TABLE (related to Bug 897258));
- bug 1128848 (InnoDB: Failing assertion: node->n_pending == 0 in file
fil0fil.c line 2415 | abort in fil_delete_
The lazy drop table removal is implemented as follows:
- removing buf_page_
checks;
- removing buf_LRU_
- replacing global srv_lazy_drop_table declared/defined in
srv0srv.h/.c with a static global variable in ha_innodb.cc;
- printing a warning if lazy drop table is enabled;
- adjusting the variable help text;
- removing srv_lazy_drop_table check from fil_delete_
http://
The diff conflict will have to be resolved at the time of the branch merge to the trunk. It does not block reviews.