-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Service Arch
-
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
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.
- depends on
-
SERVER-81316 (SA) Add a test suite for a subset of jscore tests to run against a single-shard cluster
- Closed