-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Layered Tables
-
Storage Engines, Storage Engines - Foundations
-
None
-
None
WiredTiger creates a shared metadata table upon startup, and we currently depend on the order of table creation calls in wiredtiger_open to ensure that its table ID would be the same across all replicas. In the future, we may make the history store to be a shared table, in which case we would also need to ensure that all replicas would create it with the same ID.
To remove this assumption and to prevent future bugs, we should assign fixed table IDs to such tables. One way to do this would be to create a special table ID namespace for such tables and then hard-code those IDs into WiredTiger.