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

Dropping system.views should be allowed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.0-rc3
    • Storage
    • Fully Compatible
    • ALL
    • Hide

      db.coll.createView("a", "b", []);
      

      Show
      db.coll.createView("a", "b", []);
    • Integration 2016-10-10, Integration 2016-10-31, Storage 2016-11-21

    Description

      There is a left-over check that prohibits dropping system.views while in 3.4 compatibility mode, as at one point the presence of a system.views collection was used to make sure initial sync on 3.2 would fail in 3.4 compatibility mode. However, now we use V2 indexes for that, so this is no longer needed.

      Additionally, the design of views requires them to be droppable, as replication may need to drop a system.views collection during rollback. We should also add a test for this.

      Attachments

        Activity

          People

            geert.bosch@mongodb.com Geert Bosch
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: