[SERVER-68284] Remove the last vestiges of legacy opcodes from the server code Created: 26/Jul/22 Updated: 20/Jan/23 Resolved: 20/Jan/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Irina Yatsenko (Inactive) | Assignee: | Backlog - Query Execution |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | query-offsite | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Execution
|
| Participants: |
| Description |
|
Should review all uses of dbQuery, dbGetMore, and other members of NetworkOps in situations when those represent legacy opcodes, and remove the code. Removal like this would affect the error messages in response to receiving over the wire a legacy opcode and must be coordinated with the drivers team. |
| Comments |
| Comment by David Storch [ 20/Jan/23 ] |
|
Almost all of the work related to code removal for OP_QUERY, OP_GET_MORE, and friends has been completed now. We discussed in quick win triage and decided that this would not be worth pursuing at this point. At some point in the future we may move from OP_QUERY isMaster to OP_MSG hello for the connection handshake, at which point it would make sense to do a final audit for code related to the legacy op codes that can be moved once and for all. |