[SERVER-44069] Look at replacing ServerDescriptionBuilder with BSON documents. Created: 17/Oct/19 Updated: 06/Dec/22 Resolved: 23/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Lamont Nelson | Assignee: | Backlog - Service Architecture |
| Resolution: | Won't Fix | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
| Participants: |
| Description |
|
In the Server Discovering and Monitoring tests, ServerDescriptionBuilder is used to create input objects to test the state machine. Consider using BSON documents if they are better fit. Specifically, the files in question are topology_state_machine_test.cpp, topology_manager_test.cpp, and server_description_test.cpp in this CR https://mongodbcr.appspot.com/501730001/diff/524160033/src/mongo/client/sdam/server_description.h#newcode166. |