Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5554

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

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

      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 Unassigned
            Reporter:
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: