Get rid of EncodingMetadata in RequestMessage, or refactor how it is used

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Internal
    • None
    • None
    • Java Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      CommandMessage.getCommandDocument uses this metadata to know where in the encoded wire protocol message buffer to start decoding the command document. We should either get rid of this metadata, or associate it with the buffer containing the encoded wire protocol message, instead of associating it with the CommandMessage (RequestMessage).

      See https://github.com/mongodb/mongo-java-driver/pull/1456#discussion_r1691466540 for more details.

              Assignee:
              Unassigned
              Reporter:
              Valentin Kavalenka
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: