-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
Description:
The "distinct" command is disallowed on sharded collections in a multi-document transaction. Attempting to use it will return OperationNotSupportedInTransaction. Distinct on unsharded collections is still allowed.
Engineering Ticket Description:
Per alyson.cabral, we should do this.
This is because distinct is the only command currently allowed in a sharded transaction that does not filter orphaned documents.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- duplicates
-
DOCS-12725 Docs for SERVER-40026: Blacklist distinct in sharded collections in transactions
- Closed