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

Inserting into a time-series collection can fail with NamespaceNotFound

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • Execution Team 2021-12-13

      As of SERVER-57660, if a time-series collection is dropped while there are concurrent inserts into that collection, there is a small window where the inserts may fail due to the buckets collection being dropped. In order to be more in-line with the behavior of a regular collection, if this race occurs, we could back out of the time-series insert path and perform a regular insert, which would implicitly create the namespace as a regular collection.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: