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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.0-rc3, 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Execution Team 2021-06-28
    • 150

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: