Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2382

Don't use raw wire protocol messages outside of command layer

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Operations Layer
    • None

      Our codebase is littered with calls to check if things like result.result exists, or result.queryError (for OP_QUERY messages). This is because the wire protocol handlers are returning raw messages even in situations when a full result is not requested. This should be cleaned up and contained to the wire protocol level.

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: