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

local.system.resharding.slimOplogForGraphLookup isn't created when replica set has already been initiated

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • v4.9
    • Sharding 2021-05-17
    • 12
    • 1

    Description

      The following views are not created when the replica set has already been initiated. repl::createOplog() is called (1) as part of the replSetInitiate command and (2) as part of initial sync. This means the views won't be created when upgrading from an existing replica set.

      createSlimOplogView(opCtx, ctx.db());
      tenant_migration_util::createOplogViewForTenantMigrations(opCtx, ctx.db());
      

      These lines should be relocated so they are done as part of startup (at minimum after the storage engine has been initialized).

      Attachments

        Issue Links

          Activity

            People

              cheahuychou.mao@mongodb.com Cheahuychou Mao
              max.hirschhorn@mongodb.com Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: