-
Type: Improvement
-
Resolution: Unresolved
-
Priority: 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.