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

--repair fails when views exist

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Storage
    • None
    • Fully Compatible
    • ALL
      • Create a view
      • Run ./mongod --repair
    • Sharding 2020-09-07

    Description

      Running with --repair causes the storage engine to not instantiate record stores as part of startup. However the existence of a <db>.system.views collection will result in the initializing the view catalog. The view catalog is not aware of the repair mode and thus tries to iterate its record store which does not exist.

      Attachments

        Activity

          People

            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: