[SERVER-80994] (SA) Link router commands for sharded cluster initialization into mongod Created: 12/Sep/23  Updated: 16/Nov/23  Resolved: 16/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: George Wangensteen Assignee: George Wangensteen
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-81316 (SA) Add a test suite for a subset of... Closed
Assigned Teams:
Service Arch
Sprint: Service Arch 2023-10-02, Service Arch 2023-10-16, Service Arch 2023-10-30, Service Arch 2023-11-13, Service Arch 2023-11-27
Participants:

 Description   

A few router commands are required to initialize a sharded cluster, including:

  • addShard
  • enableSharding
  • shardCollection
  • cluster hello

We need to link these commands into the new embedded-router mongod library, and register them with the Router commands registry.

Note that, to get these commands to actually run correctly, we will need to bootstrap the sharding state correctly in embedded-router mode, including role-aware registration of any duplicate decorations and role-aware lookup of any such decorations. This work will be handled separately. The goal of this ticket is simply to link in these commands and their dependent libraries into the server, and allow the server to build correctly, without breaking any existing tests/the dedicated router and shard binaries. This will enable the future work to proceed and isolate out the SCons and dependent library changes.


Generated at Thu Feb 08 06:45:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.