mariadb/storage
Daniel Black 8440e8fa98 MDEV-11455: create status variable innodb_buffer_pool_load_incomplete
This status variable indicates that an innodb buffer pool load never
completed and dumping at shutdown would result in an incomplete dump file.

This status variable is set to 1 once a buffer pool loads. Upon a successful
load this status variable returns to 0.

With this status variable set, the system variable
innodb_buffer_pool_dump_at_shutdown==1 will have no effect as dumping after
an incomplete load will generate a less complete dump file than the current
one.

If a user aborts a buffer pool load by changing the system variable
innodb_buffer_pool_load_abort=1 will cause the the status variable
innodb_buffer_pool_load_incomplete to remain set to 1.

A shutdown that occurs while innodb is loading the buffer pool will
not save the buffer pool on shutdown.

A user may indirectly set innodb_buffer_pool_load_incomplete
to 0 by:
* Forcing a load, by setting innodb_buffer_pool_load_now=ON, or
* Forcing a dump, by setting innodb_buffer_pool_dump_now=ON

This will enable the next dump on shutdown to complete.

Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
2018-02-22 15:50:47 +11:00
..
archive MDEV-15091 : Windows, 64bit: reenable and fix warning C4267 (conversion from 'size_t' to 'type', possible loss of data) 2018-02-06 12:55:58 +00:00
blackhole Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
cassandra Added name to MEM_ROOT for esier debugging 2018-02-02 11:08:36 +02:00
connect Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
csv Added name to MEM_ROOT for esier debugging 2018-02-02 11:08:36 +02:00
example Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
federated Added name to MEM_ROOT for esier debugging 2018-02-02 11:08:36 +02:00
federatedx Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
heap Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
innobase MDEV-11455: create status variable innodb_buffer_pool_load_incomplete 2018-02-22 15:50:47 +11:00
maria Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
mroonga Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
myisam Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
myisammrg MDEV-15091 : Windows, 64bit: reenable and fix warning C4267 (conversion from 'size_t' to 'type', possible loss of data) 2018-02-06 12:55:58 +00:00
oqgraph Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3 2018-02-04 18:40:06 +04:00
perfschema MDEV-15091 : Windows, 64bit: reenable and fix warning C4267 (conversion from 'size_t' to 'type', possible loss of data) 2018-02-06 12:55:58 +00:00
rocksdb Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
sequence Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sphinx Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
spider Fix DBUG_PRINT formatting for ulonglong alter_info.flags 2018-02-15 14:17:42 +00:00
test_sql_discovery Merge bb-10.2-ext into 10.3 2017-09-21 08:12:19 +03:00
tokudb Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00