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

Detect a write without a shard key or _id

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Sharding 2022-09-19, Sharding 2022-10-03, Sharding 2022-10-17

      In the batch write command path, add logic to detect if a multi:false write is missing both a targetable shard key and _id, meaning that we now have a "non-targeted single write"

            Assignee:
            jason.zhang@mongodb.com Jason Zhang
            Reporter:
            jason.zhang@mongodb.com Jason Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: