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

Sharded time-series buckets should allow deleteOne against `_id`

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution NAMER
    • Fully Compatible
    • ALL
    • v7.0, v6.0
    • Execution NAMR Team 2023-08-21

      The logic given in SERVER-75921 for why updates/deletes against sharded time-series collections don’t apply when updating the raw time-series buckets collection. Nonetheless, attempts to do so lead to errors like:

      A single delete on a sharded time-series collection must contain the shard key (and have the simple collation).

      Mongosync needs this in order to apply this algorithm for accommodating certain race conditions.

            Assignee:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Reporter:
            felipe.gasper@mongodb.com Felipe Gasper
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: