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

XMLWordPrintableJSON

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

      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
            Reporter:
            Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: