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

Investigate if it's ok to ignore errors on reload views for a database from the system.views collection.

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2023-03-06

      This came out of SERVER-66146 PR's discussion. SERVER-66146 makes changes to CollectionCatalog::_replaceViewsForDatabase transactional. Even before SERVER-66146, we ignore errors on reload views for a database from the system.views collection. Additionally, for such error cases, We also clear/reset the views for that database from CollectionCatalog::_replaceViewsForDatabase map. This means your previous in-memory view state for that database is erased.

            Assignee:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Reporter:
            suganthi.mani@mongodb.com Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: