MySQL 9.1.0
Source Code Documentation
|
Classes | |
class | DBLWR |
Redo recovery configuration. More... | |
struct | Page |
Page recovered from the doublewrite buffer. More... | |
struct | Page_entry |
A record from reduced doublewrite buffer. More... | |
class | Pages |
Pages recovered from the doublewrite buffer. More... | |
Functions | |
void | create (Pages *&pages) noexcept |
Create the recovery dblwr data structures. More... | |
dberr_t | load (Pages *pages) noexcept |
Load the doublewrite buffer pages. More... | |
dberr_t | reduced_load (Pages *pages) noexcept |
Load the doublewrite buffer pages. More... | |
void | recover (Pages *pages, fil_space_t *space) noexcept |
Restore pages from the double write buffer to the tablespace. More... | |
const byte * | find (const Pages *pages, const page_id_t &page_id) noexcept |
Find a doublewrite copy of a page. More... | |
std::tuple< bool, lsn_t > | find_entry (const Pages *pages, const page_id_t &page_id) noexcept |
Find the LSN of the given page id in the dblwr. More... | |
void | check_missing_tablespaces (const Pages *pages) noexcept |
Check if some pages from the double write buffer could not be restored because of the missing tablespace IDs. More... | |
void | destroy (Pages *&pages) noexcept |
Free the recovery dblwr data structures. More... | |
|
noexcept |
Check if some pages from the double write buffer could not be restored because of the missing tablespace IDs.
[in] | pages | Pages to check |
|
noexcept |
Create the recovery dblwr data structures.
[out] | pages | Pointer to newly created instance |
|
noexcept |
Free the recovery dblwr data structures.
[out] | pages | Free the instance |
Find a doublewrite copy of a page.
[in] | pages | Pages read from the doublewrite buffer |
[in] | page_id | Page number to lookup |
NULL | if no page was found |
|
noexcept |
Find the LSN of the given page id in the dblwr.
[in] | pages | Pages read from the doublewrite buffer |
[in] | page_id | Page number to lookup |
|
noexcept |
Load the doublewrite buffer pages.
[in,out] | pages | For storing the doublewrite pages read from the double write buffer |
6 == strlen(".dblwr").
|
noexcept |
Restore pages from the double write buffer to the tablespace.
[in,out] | pages | Pages from the doublewrite buffer |
[in] | space | Tablespace pages to restore, if set to nullptr then try and restore all. |
|
noexcept |
Load the doublewrite buffer pages.
[in,out] | pages | For storing the doublewrite pages read from the double write buffer |