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

View definition can be lost if the view is created during movePrimary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.1, 4.7.0
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Operating System:
      ALL
    • Sprint:
      Sharding 2020-07-27

      Description

      View definitions for a database DBNAME are stored in the DBNAME.system.views unsharded collection. Therefore if a view is created during the movePrimary for the DBNAME it can be lost like any other insert to an unsharded collection even if the viewOn collection is sharded.

        Attachments

          Activity

            People

            Assignee:
            misha.tyulenev Misha Tyulenev
            Reporter:
            misha.tyulenev Misha Tyulenev
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: