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

XMLWordPrintableJSON

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

      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).

            Assignee:
            Cheahuychou Mao
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: