The schema for the new index format would match the existing non-unique format. The unique constraint checking would be done in the integration layer rather than relying on WiredTiger. For an insert operation into new unique index implement the Unique Index Constraint checking algorithm to guarantee the uniqueness.
The Unique Index Constraint checking algorithm is explained in the design.
- is duplicated by
-
SERVER-28619 Implement new duplicate unique key handling for WiredTigerUniqueIndex
-
- Closed
-
- is related to
-
SERVER-32820 Support new unique index format during secondary apply
-
- Closed
-
- related to
-
SERVER-32760 Add the support to read from the new unique index format.
-
- Closed
-