-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Testing
Use Case
As a developer
I want if the Response Class is used in the node driver or for any server versions
So that the node team can determine if it can be safely removed.
User Impact
N/a
Dependencies
N/a
Unknowns
- The Response class should be dead code in the node driver. However, test results show the Response class being used. We are unsure if this is because the server still sends back op codes other than OP_MSG or if it's an issue with the mock server when running tests (or something else).
- slack thread with information: https://mongodb.slack.com/archives/GGWBN4ZNK/p1638557348121100
- evergreen run showing logs from the response class: https://spruce.mongodb.com/task/mongo_node_driver_next_ubuntu_18.04_erbium_test_5.0_se[…]1_12_03_20_03_10/logs?execution=0&sortBy=STATUS&sortDir=ASC
Acceptance Criteria
- Determine if the Response class (op codes other than OP_MSG) need to be supported or if we can safely remove the Response class from the codebase.
- Determine any updates to the node driver necessary to remove the Response class from the codebase (perhaps updates to the mock server or mock data).