[SERVER-78218] ReshardingOpObserver is registered twice in config shard mode. Created: 19/Jun/23  Updated: 12/Dec/23

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

Type: Bug Priority: Major - P3
Reporter: Kshitij Gupta Assignee: Backlog - Cluster Scalability
Resolution: Unresolved Votes: 0
Labels: cs-subteam1, new-eng, sharding-nyc-subteam1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Cluster Scalability
Operating System: ALL
Participants:
Story Points: 3

 Description   

Since config shard mode has both config server and shard server cluster role, reshardingopobserver will get registered twice:

  1. https://github.com/10gen/mongo/blob/245928f98349a85fe51a52a7d4d22d5fa9fa9956/src/mongo/db/mongod_main.cpp#L1320
  2. https://github.com/10gen/mongo/blob/245928f98349a85fe51a52a7d4d22d5fa9fa9956/src/mongo/db/mongod_main.cpp#L1344

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