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

Clean up InitialSyncerOptions' localOplogNS and remoteOplogNS

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
    • Fully Compatible
    • v5.0, v4.4, v4.2, v4.0
    • Repl 2021-06-14, Repl 2021-06-28

      Right now, both localOplogNS and remoteOplogNS are configurable even though they should always be "local.oplog.rs". After SERVER-44709, we will no longer use remoteOplogNS when constructing an OplogFetcher during Initial Sync, so we should clean up these options and replace all their uses with NamespaceString::kRsOplogNamespace.

            Assignee:
            carolyn.duan@mongodb.com Carolyn Duan (Inactive)
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: