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

Catalog serialization of tenant db views should not depend on featureFlagRequireTenantID

    • Service Arch
    • ALL
    • 3

      Catalog of tenant db views are stored in <tenantId><db>.system.views_ . It's a per-tenant collection.
      The serialization/deserialization of "_id" field of it is a nss string of the view name. This field should always has tenant prefix as other general catalogs do. 

      In the views_for_databse.cpp, there are bugs (eg, here) that didn't follow the above rule and use featureFlagRequireTenantID to decide if tenant prefix is included or not. We should fix it. Otherwise, server cannot reload the view catalog correctly if
      feature flag is changed.
       

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: