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

Don't require a connection string in tenant access blocker constructor

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Serverless

      Currently the TenantMigrationDonorAccessBlocker requires passing in a recipientConnectionString to its constructor. In shard split this becomes difficult because we need to consult the local replset config in order to build that connection string each time it's required. It's impossible to do that on recovery, since the access blocker recovery code is run before a local config is installed. This ticket will cover making this field optional, since it's only used to generate a debug string.

      This is a stop-gap fix until we implement SERVER-64618, which will be a more comprehensive fix for shard split access blocking.

            Assignee:
            backlog-server-serverless [DO NOT USE] Backlog - Server Serverless (Inactive)
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: