-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Server Programmability
Today, Service, Logs, FTDC, and Metrics re-use the public enum provided by the ClusterRole.
These components only use the values ShardServer, RouterServer and None from the enum and not the bit mask of the ClusterRole class, making more harder to use and unnecessary calls to hasExclusively and extras MONGO_UNREACHABLE.
The goal of this ticket is to make all those components depend on a new enumeration with three values Shard, Router and None in order to break the relationship with the ClusterRole API.
- is related to
-
SERVER-92429 Improve ServerStatusSectionBuilder API by adding helpers for section classes
- Backlog