Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-69579

Make error code 31025 into a named error code

    • Cluster Scalability
    • 1

      Problem

      Mongosync plans to add code that depends on this error.

      Solution

      Please turn error code 31025 (Shard key update is not allowed without specifying the full shard key in the query) into a named error code in the server.

      _https://github.com/mongodb/mongo/blob/fb1b3f7abaf6a18b803afd90b6fdab4f42cfebed/src/mongo/base/error_codes.yml#L499_

            Assignee:
            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            frederic.vitzikam@mongodb.com Frederic Vitzikam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: