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

Wire protocol commands should only take a single command

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.13
    • Component/s: core
    • Labels:
      None

      Description

      The current wire protocol classes make an assumption that incoming commands are always an array, which is likely a holdover from a time where multiple commands could be streamlined before everything was a command. While OP_MSG provides a way to have a splittable payload, its unlikely it will be implemented at the constructor level here so we should codify that we don't expect arrays here.

        Attachments

          Activity

            People

            Assignee:
            matt.broadstone Matt Broadstone
            Reporter:
            matt.broadstone Matt Broadstone
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: