49 size_t page_size,
bool for_read_only)
override;
55 const std::string &old_path,
56 const std::string &new_path)
override;
59 size_t page_size)
override;
77 size_t page_size,
bool for_read_only);
uint32_t space_id_t
Tablespace identifier.
Definition: api0api.h:49
uint32_t page_no_t
Page number.
Definition: api0api.h:47
Manages low-level storage for Tablespaces.
Definition: fil0tablespaces_nodes_interface.h:37
uint32_t Tablespace_id
Type used for giving the tablespaces unique number.
Definition: fil0tablespaces_nodes_interface.h:40
Open_error
Definition: fil0tablespaces_nodes_interface.h:111
Status
Definition: fil0tablespaces_nodes_interface.h:64
Create_error
Definition: fil0tablespaces_nodes_interface.h:66
Definition: fil0innodb_tablespaces_nodes.h:32
ut::Expected< Node_info, Node_error > get_node_info(Tablespace_id space_id, size_t node_order, const Node_hints &hints, size_t page_size) override
Gets basic information about the node specified, this includes its size (first page offset that is no...
Definition: fil0innodb_tablespaces_nodes.cc:320
Capabilities get_capabilities() override
Query the capabilities of the Page Service implementation.
Definition: fil0innodb_tablespaces_nodes.cc:37
Status remove(Tablespace_id space_id, size_t node_order, const Node_hints &hints) override
Deletes a specified tablespace's node storage by path.
Definition: fil0innodb_tablespaces_nodes.cc:293
ut::Expected< ut::unique_ptr< Tablespace_node_handle_interface >, Open_error > open_undo_tablespace(space_id_t space_id, const Node_hints &hints, size_t page_size, bool for_read_only)
Opens an UNDO tablespace using the supplied path in the hints.
Definition: fil0innodb_tablespaces_nodes.cc:179
ut::Expected< ut::unique_ptr< Tablespace_node_handle_interface >, Open_error > open(Tablespace_id space_id, size_t node_order, const Node_hints &hints, size_t page_size, bool for_read_only) override
Opens an existing tablespace's node storage by path, so it is ready to read and write pages,...
Definition: fil0innodb_tablespaces_nodes.cc:209
Status rename(Tablespace_id space_id, size_t node_order, const std::string &old_path, const std::string &new_path) override
Rename a tablespace file.
Definition: fil0innodb_tablespaces_nodes.cc:258
ut::Expected< ut::unique_ptr< Tablespace_node_handle_interface >, Create_error > create(Tablespace_id space_id, size_t node_order, const Create_node_hints &hints, uint32_t flags, page_no_t size_in_pages) override
Creates a low-level storage for a new tablespace node.
Definition: fil0innodb_tablespaces_nodes.cc:52
~Tablespaces_nodes() override=default
Tablespaces_nodes()=default
C++23 std::expected.
Definition: ut0expected.h:74
static int flags[50]
Definition: hp_test1.cc:40
Definition: fil0fil.cc:1392
Definition: fil0tablespaces_nodes_interface.h:48
Definition: fil0tablespaces_nodes_interface.h:86
Definition: fil0tablespaces_nodes_interface.h:76