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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.1, 4.7.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Minor Change
    • ALL
    • Sharding 2020-07-27

      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.

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: