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

Add NamespaceNotFound as accepted ErrorCode for time-series inserts

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Execution Team 2024-11-11

      If the catalog state changes in certain ways during an insert command to a time series collection (e.g. collection is dropped, or we enter replication rollback), we may report an error to the user that the collection was not found. We added some error codes to account for this in testing (SERVER-85557), and there is a long term plan to fix this behavior (SERVER-85548).

      In the assertInsertWorked helper js function, we handle some of these error codes here but do not account for the NamespaceNotFound error code.

            Assignee:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Reporter:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: