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

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

    XMLWordPrintableJSON

Details

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 38 weeks, 2 days ago