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

Allow _id-keyed single document update for collections not sharded on _id

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Sharding
    • None

    Description

      At present, we don't allow non-multi updates (single-document updates) on a sharded collection unless the query argument to update includes the shard key, (presumably because doing so would be non-deterministic, or something).

      It would be handy for some applications to relax this restriction to permit updates where the query argument to the update includes a constant-valued _id parameter, even if the shard key were missing or incomplete in the query.

      Attachments

        Activity

          People

            Unassigned Unassigned
            richard.kreuter Richard Kreuter (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: