-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
None
-
Storage Engines - Foundations
-
187.999
-
None
-
5
MongoDB compiles WT in non-standalone mode, and it's not clear why we still need the standalone mode. We should try to remove it: merge the two modes into one, so we don't need a separate configuration and separate CI variants for it. This will also save us CI costs, as we won't need to test the two modes separately.
With the 8.0 release of the timestamped fast truncate data format change in MongoDB, the standalone data format should now be identical to MongoDB's, but some code is still different for the two modes.
Scope
- Find all the differences between the two modes (WT_STANDALONE_BUILD) and check whether each can be removed or made the same for both. For example:
- Standalone supports btree version 2.1, non-standalone 1.1 (WT_BTREE_VERSION_MAX). Is this still needed if the data format is identical?
- test/format disables truncate with timestamps or prepare on non-standalone builds.
- Only standalone can roll back read-only transactions (WT-15823).
- Recovery checks differ: unsupported table format (standalone only), unclean shutdown from 10.0.0 (non-standalone only).
- Check whether non-MongoDB users of WT depend on the standalone behaviour (e.g. the open-source release).
- If the modes can be merged, remove the separate standalone CI variants and update the rules doc and the affected tickets in the epic (WT-19158, WT-19156, WT-19161). If not, document why and keep the reduced standalone testing from WT-19158.
- is related to
-
WT-19156 Don't run multiple test/format copies on non-target variants
-
- Open
-
-
WT-19161 Narrow the variants running test/format stress testing
-
- Open
-
- related to
-
WT-19146 Reduce excessive CI testing
-
- Open
-
-
WT-10121 Improve the testing around standalone and non-standalone
-
- Open
-
-
WT-19158 Run standalone test/format stress testing less frequently
-
- Open
-
-
WT-15823 Allow WT to rollback read transactions in non-standalone builds
-
- Backlog
-
-
WT-12933
Investigate whether we can align the Standalone release and MongoDB release
-
- Open
-