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

Fix metaField-only time-series deletes with concurrent collection drops

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.4, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v5.0
    • Execution Team 2021-07-26, Execution Team 2021-08-09

      Currently, locks are not held while time-series queries are parsed to replace the metaField with "meta" in write_commands.cpp and while retrieving the metaField in write_ops_exec.cpp. This may lead to concurrency issues where the collection may be dropped or replaced with another collection before the delete executes. To solve this, all the metaField related logic should be moved to the 
      performSingleDeleteOp method in write_ops_exec.cpp.

            Assignee:
            kris.satya@mongodb.com Kris Satya (Inactive)
            Reporter:
            kris.satya@mongodb.com Kris Satya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: