![]() |
MySQL 8.0.43
Source Code Documentation
|
Redo recovery configuration. More...
#include <buf0dblwr.h>
Public Member Functions | |
| DBLWR () noexcept | |
| Constructor. More... | |
| ~DBLWR () noexcept | |
| Destructor. More... | |
| bool | empty () const noexcept |
| dberr_t | load () noexcept |
| Load the doublewrite buffer pages. More... | |
| dberr_t | reduced_load () noexcept |
| Load the doublewrite buffer pages. More... | |
| void | recover (fil_space_t *space=nullptr) noexcept |
| Restore pages from the double write buffer to the tablespace. More... | |
| const byte * | find (const page_id_t &page_id) noexcept |
| Find a doublewrite copy of a page. More... | |
| std::tuple< bool, lsn_t > | find_entry (const page_id_t &page_id) noexcept |
| Find the LSN of the given page id in the dblwr. More... | |
| void | check_missing_tablespaces () noexcept |
| Check if some pages from the double write buffer could not be restored because of the missing tablespace IDs. More... | |
| void | recovered () noexcept |
| Note that recovery is complete. More... | |
| DBLWR (const DBLWR &)=delete | |
| Disably copying. More... | |
| DBLWR (const DBLWR &&)=delete | |
| DBLWR & | operator= (DBLWR &&)=delete |
| DBLWR & | operator= (const DBLWR &)=delete |
Private Attributes | |
| Pages * | m_pages {} |
| Pages read from the double write file. More... | |
Redo recovery configuration.
|
inlineexplicitnoexcept |
Constructor.
|
inlinenoexcept |
Destructor.
|
delete |
Disably copying.
|
delete |
|
inlinenoexcept |
Check if some pages from the double write buffer could not be restored because of the missing tablespace IDs.
|
inlinenoexcept |
Find a doublewrite copy of a page.
| [in] | page_id | Page number to lookup |
| nullptr | if no page was found |
|
inlinenoexcept |
Find the LSN of the given page id in the dblwr.
| [in] | page_id | Page number to lookup |
|
inlinenoexcept |
Load the doublewrite buffer pages.
Doesn't create the doublewrite
|
inlinenoexcept |
Restore pages from the double write buffer to the tablespace.
| [in] | space | Tablespace pages to restore, if set to nullptr then try and restore all. |
|
inlinenoexcept |
Note that recovery is complete.
Adjust the file sizes if necessary.
|
inlinenoexcept |
Load the doublewrite buffer pages.
Doesn't create the doublewrite
|
private |
Pages read from the double write file.