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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Serverless

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: