Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12726

Docs for SERVER-40026: Blacklist distinct in sharded collections in transactions

      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.)

            Assignee:
            Unassigned Unassigned
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 48 weeks, 3 days ago