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

[required cleanup] Tenant migration donor code creates a new TaskExecutor for each TenantMigrationAccessBlocker

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Sharding

      Currently a new TaskExecutor is created and given to each TenantMigrationAccessBlocker, and the TenantMigrationAccessBlocker only uses it to wait for the commit or abort OpTime to become majority committed.

      At the very least, all TenantMigrationAccessBlockers should share a single executor, but we should also think about whether we can avoid creating a separate executor just for this.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: