mariadb/storage/innobase/buf
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
..
buf0buddy.cc Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
buf0buf.cc Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
buf0checksum.cc MDEV-11939: innochecksum mistakes a file for an encrypted one (page 0 invalid) 2017-08-03 08:29:36 +03:00
buf0dblwr.cc MDEV-11369 Instant ADD COLUMN for InnoDB 2017-10-06 09:50:10 +03:00
buf0dump.cc MDEV-11455: create status variable innodb_buffer_pool_load_incomplete 2018-02-22 15:50:47 +11:00
buf0flu.cc 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
buf0lru.cc Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
buf0rea.cc Adjust the instrumentation and test 2017-10-18 11:53:45 +03:00