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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 6.0.0, 5.0.10
    • None
    • Storage Execution
    • 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.

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: