Concurrent drop and create could leave a view without the bucket namespace

    • Catalog and Routing
    • ALL
    • Hide

      repro-create-drop-timeseries-bug.patch

      Apply the provided patch on top of commit r6.1.0-alpha-1901-g51f0bfb9163 and run jstests/noPassthrough/timeseries_create_drop_concurrent.js in the no_passthrough suite.

      Show
      repro-create-drop-timeseries-bug.patch Apply the provided patch on top of commit r6.1.0-alpha-1901-g51f0bfb9163 and run jstests/noPassthrough/timeseries_create_drop_concurrent.js in the no_passthrough suite.
    • 0
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      The creation of a timeseries collection is achieved through the following two steps:
      1. create the bucket namespace
      2. create the associated view

      If a drop targeting directly the bucket namespace is executed between 1 and 2 we end up with the view but without the bucket namespace. This is possible because the create collection release the locks for the bucket namespace after 1.

            Assignee:
            Unassigned
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: