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

Ordered time-series inserts can race with time-series buckets collection drop

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc3, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v5.0
    • Execution Team 2021-06-28
    • 150

      On the ordered time-series insert path we invariant that the buckets collection exists, but this is not necessarily the case if there is a race with the buckets collection being dropped.

      Presumably we should implicitly create the buckets collection in this case, which is what should already be happening on the unordered insert path.

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: