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

Remove check for featureFlagRequireTenantID in listDatabases command

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Server Serverless 2022-10-17
    • 158

      There are a few tests that start a replica set with 2 nodes and enable featureFlagRequireTenantId when this featureFlag is on, and SERVER-67431 changed listDatabases so it will not return any databases if a tenantId was not passed. So, initial sync will fail to copy any dbs. Thus, the secondary never creates the admin.system.version collection, and when it goes to apply the insert oplog entry, it doesn't find the collection. SERVER-70098 will change initial sync to use listDatabasesForAllTenants when the feature flag is enabled - in that ticket we should put back the behavior we had added in SERVER-67431.

            Assignee:
            adi.agrawal@mongodb.com Adi Agrawal
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: