WiredTiger currently updates the shared metadata table in the following ways:
- Modifying the metadata table directly during a checkpoint, e.g., during checkpoint resolve.
- Modifying the metadata table directly in response to DDL operations, e.g., creating a new table.
- Scheduling metadata to be copied later, e.g., to handle creating empty tables.
The latter has a somewhat unfortunate design (even though it works), because it schedules copying metadata for later, but it uses metadata from that latter point when updating it. It is also somewhat unfortunate that the mechanism's correctness depends on transactional access to the metadata table, while metadata operations are non-transactional.
The motivation behind this redesign is to clean up the design.
- is depended on by
-
WT-15416 Fix metadata cursors
-
- Open
-
- is related to
-
WT-15117 test_hs08 failed as more than expected writes were squashed
-
- Closed
-
- related to
-
WT-16532 Investigate failure from bug010
-
- Open
-
-
WT-16565 Refactor removal of shared metadata to use queue
-
- In Code Review
-
-
WT-16462
Improve how __create_table determines whether a table is layered
-
- Open
-
-
WT-16602 failed: test_bug010.test_bug010.test_checkpoint_dirty on ubuntu2004 [wiredtiger @ 8a7ba8c2]
-
- Closed
-