[GODRIVER-2936] Bulk inserting many documents causes BSONObjectTooLarge error unexpectedly Created: 12/Jul/23  Updated: 27/Oct/23  Resolved: 22/Aug/23

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jian Guan Assignee: Matt Dale
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File main.go    
Issue Links:
Related
is related to GODRIVER-1324 Can't insert 16 MiB documents Closed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

The documentation describes the maximum number of documents in a single batch operation. This number does not seem to be accurate because a BSONObjectTooLarge error can be thrown when inserting many small documents. An insert command that writing 2861 documents that add up to 16MB in size to a replica set (v4.4, v5.0) causes a BSONObjectTooLarge error to be thrown. For different server versions and topologies, the exact number of documents that can be inserted varies but stays roughly around 2860.



 Comments   
Comment by Jian Guan [ 22/Aug/23 ]

matt.dale@mongodb.com Thanks for your response! I was trying to figure out the maximum number of documents that mongosync can write to the destination at one time. What you said makes sense to me. I'll close this ticket.

Comment by PM Bot [ 22/Aug/23 ]

Hi jian.guan@mongodb.com! GODRIVER-2936 is awaiting your response.

If this is still an issue for you, please open Jira to review the latest status and provide your feedback. Thanks!

Comment by Matt Dale [ 14/Aug/23 ]

The repro code in main.go uses the RunCommand API, which does not perform any batch manipulation and only marshals and sends the command document provided. The command document assembled by main.go adds the documents to a BSON array, which, as mihai.andrei@mongodb.com described, adds some overhead for each value in the array. As a result, that code will overshoot the target document size, and the amount it will overshoot scales with the number of documents added.

When performing batched inserts, the Go driver (and most other drivers) actually uses OP_MSG payload type 1 with a "document sequence", which doesn't have the same overhead as BSON arrays. It's not clear if there's a way to assemble a command document using a "document sequence" using RunCommand.

TLDR: The repro code overshoots its target document size, causing the BSONObjectTooLarge error. That is not indicative of a Go driver bug. jian.guan@mongodb.com what are you trying to accomplish by manually assembling batches?

Comment by Jian Guan [ 31/Jul/23 ]

Hi mihai.andrei@mongodb.com, thank you for the reply!

  • I can confirm this error is from the server:

    {"t":{"$date":"2023-07-31T09:48:31.496-04:00"},"s":"E",  "c":"ASSERT",   "id":23077,   "ctx":"conn34","msg":"Assertion","attr":{"error":"BSONObjectTooLarge: BSONObj size: 16966346 (0x102E2CA) is invalid. Size must be between 0 and 16793600(16MB) First element: insert: \"test\"","file":"src/mongo/bson/bsonobj.cpp","line":101}}
    {"t":{"$date":"2023-07-31T09:48:31.496-04:00"},"s":"D1", "c":"ASSERT",   "id":23074,   "ctx":"conn34","msg":"User assertion","attr":{"error":"BSONObjectTooLarge: BSONObj size: 16966346 (0x102E2CA) is invalid. Size must be between 0 and 16793600(16MB) First element: insert: \"test\"","file":"src/mongo/base/data_range_cursor.h","line":100}}
    {"t":{"$date":"2023-07-31T09:48:31.496-04:00"},"s":"E",  "c":"ASSERT",   "id":23076,   "ctx":"conn34","msg":"Assertion failure","attr":{"expr":"data.size() < 1000000","file":"src/mongo/util/hex.cpp","line":113}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"conn34","msg":"BACKTRACE","attr":{"bt":{"backtrace":[{"a":"103C5B378","b":"100FE4000","o":"2C77378","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE","C":"mongo::stack_trace_detail::(anonymous namespace)::printStackTraceImpl(mongo::stack_trace_detail::(anonymous namespace)::Options const&, mongo::StackTraceSink*)","s+":"A8"},{"a":"103C5C2DC","b":"100FE4000","o":"2C782DC","s":"_ZN5mongo15printStackTraceEv","C":"mongo::printStackTrace()","s+":"30"},{"a":"103C4CAD8","b":"100FE4000","o":"2C68AD8","s":"_ZN5mongo12verifyFailedEPKcS1_j","C":"mongo::verifyFailed(char const*, char const*, unsigned int)","s+":"E0"},{"a":"103C56898","b":"100FE4000","o":"2C72898","s":"_ZN5mongo7hexdumpENS_10StringDataE","C":"mongo::hexdump(mongo::StringData)","s+":"104"},{"a":"103760820","b":"100FE4000","o":"277C820","s":"_ZN5mongo5OpMsg5parseERKNS_7MessageE","C":"mongo::OpMsg::parse(mongo::Message const&)","s+":"B48"},{"a":"1016B62E4","b":"100FE4000","o":"6D22E4","s":"_ZN5mongo5OpMsg10parseOwnedERKNS_7MessageE","C":"mongo::OpMsg::parseOwned(mongo::Message const&)","s+":"30"},{"a":"103757934","b":"100FE4000","o":"2773934","s":"_ZN5mongo12OpMsgRequest10parseOwnedERKNS_7MessageE","C":"mongo::OpMsgRequest::parseOwned(mongo::Message const&)","s+":"30"},{"a":"101030368","b":"100FE4000","o":"4C368","s":"_ZN5mongo12_GLOBAL__N_115CommandOpRunner3runEv","C":"mongo::(anonymous namespace)::CommandOpRunner::run()","s+":"110"},{"a":"10102E99C","b":"100FE4000","o":"4A99C","s":"_ZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageENSt3__110unique_ptrIKNS0_5HooksENS6_14default_deleteIS9_EEEE","C":"mongo::ServiceEntryPointCommon::handleRequest(mongo::OperationContext*, mongo::Message const&, std::__1::unique_ptr<mongo::ServiceEntryPointCommon::Hooks const, std::__1::default_delete<mongo::ServiceEntryPointCommon::Hooks const>>)","s+":"4C0"},{"a":"10102BD24","b":"100FE4000","o":"47D24","s":"_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE","C":"mongo::ServiceEntryPointMongod::handleRequest(mongo::OperationContext*, mongo::Message const&)","s+":"60"},{"a":"101EC0610","b":"100FE4000","o":"EDC610","s":"_ZN5mongo9transport19ServiceStateMachine4Impl14processMessageEv","C":"mongo::transport::ServiceStateMachine::Impl::processMessage()","s+":"1E0"},{"a":"101EC1554","b":"100FE4000","o":"EDD554","s":"_ZN5mongo9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusE","C":"mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)","s+":"84"},{"a":"101EC3E64","b":"100FE4000","o":"EDFE64","s":"_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_9transport19ServiceStateMachine4Impl15scheduleNewLoopES1_E3$_5EEDaOT_EN12SpecificImpl4callEOS1_","C":"auto mongo::unique_function<void (mongo::Status)>::makeImpl<mongo::transport::ServiceStateMachine::Impl::scheduleNewLoop(mongo::Status)::$_5>(mongo::transport::ServiceStateMachine::Impl::scheduleNewLoop(mongo::Status)::$_5&&)::SpecificImpl::call(mongo::Status&&)","s+":"74"},{"a":"1036DD540","b":"100FE4000","o":"26F9540","s":"_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_9transport26ServiceExecutorSynchronous18runOnDataAvailableERKNSt3__110shared_ptrINS5_7SessionEEES3_E3$_5EEDaOT_EN12SpecificImpl4callEOS1_","C":"auto mongo::unique_function<void (mongo::Status)>::makeImpl<mongo::transport::ServiceExecutorSynchronous::runOnDataAvailable(std::__1::shared_ptr<mongo::transport::Session> const&, mongo::unique_function<void (mongo::Status)>)::$_5>(mongo::transport::ServiceExecutorSynchronous::runOnDataAvailable(std::__1::shared_ptr<mongo::transport::Session> const&, mongo::unique_function<void (mongo::Status)>)::$_5&&)::SpecificImpl::call(mongo::Status&&)","s+":"44"},{"a":"1036DA128","b":"100FE4000","o":"26F6128","s":"_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_9transport15ServiceExecutor8scheduleENS0_IFvNS_6StatusEEEEEUlvE_EEDaOT_EN12SpecificImpl4callEv","C":"auto mongo::unique_function<void ()>::makeImpl<mongo::transport::ServiceExecutor::schedule(mongo::unique_function<void (mongo::Status)>)::'lambda'()>(mongo::transport::ServiceExecutor::schedule(mongo::unique_function<void (mongo::Status)>)::'lambda'()&&)::SpecificImpl::call()","s+":"3C"},{"a":"1036DD26C","b":"100FE4000","o":"26F926C","s":"_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_9transport26ServiceExecutorSynchronous12scheduleTaskES2_NS4_15ServiceExecutor13ScheduleFlagsEE3$_4EEDaOT_EN12SpecificImpl4callEv","C":"auto mongo::unique_function<void ()>::makeImpl<mongo::transport::ServiceExecutorSynchronous::scheduleTask(mongo::unique_function<void ()>, mongo::transport::ServiceExecutor::ScheduleFlags)::$_4>(mongo::transport::ServiceExecutorSynchronous::scheduleTask(mongo::unique_function<void ()>, mongo::transport::ServiceExecutor::ScheduleFlags)::$_4&&)::SpecificImpl::call()","s+":"17C"},{"a":"1036DDF10","b":"100FE4000","o":"26F9F10","s":"_ZN5mongo12_GLOBAL__N_17runFuncEPv","C":"mongo::(anonymous namespace)::runFunc(void*)","s+":"24"},{"a":"1AB6E3FA8","b":"1AB6DD000","o":"6FA8","s":"_pthread_start","s+":"94"},{"a":"1AB6DEDA0","b":"1AB6DD000","o":"1DA0","s":"thread_start","s+":"8"}],"processInfo":{"mongodbVersion":"6.0.8","gitVersion":"3d84c0dd4e5d99be0d69003652313e7eaf4cdd74","compiledModules":[],"uname":{"sysname":"Darwin","release":"22.5.0","version":"Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000","machine":"arm64"},"somap":[{"path":"/Users/jian.guan/.local/m/versions/6.0.8/bin/mongod","machType":2,"b":"100FE4000","vmaddr":"100000000","buildId":"464F2EB4A45E3DB1B979816BA7B3B1C0"},{"path":"/usr/lib/system/libsystem_pthread.dylib","machType":6,"b":"1AB6DD000","vmaddr":"1803F9000","buildId":"46D35233A0513F4FBBA4BA56DDDC4D1A"}]}}},"tags":[]}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"103C5B378","b":"100FE4000","o":"2C77378","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE","C":"mongo::stack_trace_detail::(anonymous namespace)::printStackTraceImpl(mongo::stack_trace_detail::(anonymous namespace)::Options const&, mongo::StackTraceSink*)","s+":"A8"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"103C5C2DC","b":"100FE4000","o":"2C782DC","s":"_ZN5mongo15printStackTraceEv","C":"mongo::printStackTrace()","s+":"30"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"103C4CAD8","b":"100FE4000","o":"2C68AD8","s":"_ZN5mongo12verifyFailedEPKcS1_j","C":"mongo::verifyFailed(char const*, char const*, unsigned int)","s+":"E0"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"103C56898","b":"100FE4000","o":"2C72898","s":"_ZN5mongo7hexdumpENS_10StringDataE","C":"mongo::hexdump(mongo::StringData)","s+":"104"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"103760820","b":"100FE4000","o":"277C820","s":"_ZN5mongo5OpMsg5parseERKNS_7MessageE","C":"mongo::OpMsg::parse(mongo::Message const&)","s+":"B48"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"1016B62E4","b":"100FE4000","o":"6D22E4","s":"_ZN5mongo5OpMsg10parseOwnedERKNS_7MessageE","C":"mongo::OpMsg::parseOwned(mongo::Message const&)","s+":"30"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"103757934","b":"100FE4000","o":"2773934","s":"_ZN5mongo12OpMsgRequest10parseOwnedERKNS_7MessageE","C":"mongo::OpMsgRequest::parseOwned(mongo::Message const&)","s+":"30"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"101030368","b":"100FE4000","o":"4C368","s":"_ZN5mongo12_GLOBAL__N_115CommandOpRunner3runEv","C":"mongo::(anonymous namespace)::CommandOpRunner::run()","s+":"110"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"10102E99C","b":"100FE4000","o":"4A99C","s":"_ZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageENSt3__110unique_ptrIKNS0_5HooksENS6_14default_deleteIS9_EEEE","C":"mongo::ServiceEntryPointCommon::handleRequest(mongo::OperationContext*, mongo::Message const&, std::__1::unique_ptr<mongo::ServiceEntryPointCommon::Hooks const, std::__1::default_delete<mongo::ServiceEntryPointCommon::Hooks const>>)","s+":"4C0"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"10102BD24","b":"100FE4000","o":"47D24","s":"_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE","C":"mongo::ServiceEntryPointMongod::handleRequest(mongo::OperationContext*, mongo::Message const&)","s+":"60"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"101EC0610","b":"100FE4000","o":"EDC610","s":"_ZN5mongo9transport19ServiceStateMachine4Impl14processMessageEv","C":"mongo::transport::ServiceStateMachine::Impl::processMessage()","s+":"1E0"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"101EC1554","b":"100FE4000","o":"EDD554","s":"_ZN5mongo9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusE","C":"mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)","s+":"84"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"101EC3E64","b":"100FE4000","o":"EDFE64","s":"_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_9transport19ServiceStateMachine4Impl15scheduleNewLoopES1_E3$_5EEDaOT_EN12SpecificImpl4callEOS1_","C":"auto mongo::unique_function<void (mongo::Status)>::makeImpl<mongo::transport::ServiceStateMachine::Impl::scheduleNewLoop(mongo::Status)::$_5>(mongo::transport::ServiceStateMachine::Impl::scheduleNewLoop(mongo::Status)::$_5&&)::SpecificImpl::call(mongo::Status&&)","s+":"74"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"1036DD540","b":"100FE4000","o":"26F9540","s":"_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_9transport26ServiceExecutorSynchronous18runOnDataAvailableERKNSt3__110shared_ptrINS5_7SessionEEES3_E3$_5EEDaOT_EN12SpecificImpl4callEOS1_","C":"auto mongo::unique_function<void (mongo::Status)>::makeImpl<mongo::transport::ServiceExecutorSynchronous::runOnDataAvailable(std::__1::shared_ptr<mongo::transport::Session> const&, mongo::unique_function<void (mongo::Status)>)::$_5>(mongo::transport::ServiceExecutorSynchronous::runOnDataAvailable(std::__1::shared_ptr<mongo::transport::Session> const&, mongo::unique_function<void (mongo::Status)>)::$_5&&)::SpecificImpl::call(mongo::Status&&)","s+":"44"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"1036DA128","b":"100FE4000","o":"26F6128","s":"_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_9transport15ServiceExecutor8scheduleENS0_IFvNS_6StatusEEEEEUlvE_EEDaOT_EN12SpecificImpl4callEv","C":"auto mongo::unique_function<void ()>::makeImpl<mongo::transport::ServiceExecutor::schedule(mongo::unique_function<void (mongo::Status)>)::'lambda'()>(mongo::transport::ServiceExecutor::schedule(mongo::unique_function<void (mongo::Status)>)::'lambda'()&&)::SpecificImpl::call()","s+":"3C"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"1036DD26C","b":"100FE4000","o":"26F926C","s":"_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_9transport26ServiceExecutorSynchronous12scheduleTaskES2_NS4_15ServiceExecutor13ScheduleFlagsEE3$_4EEDaOT_EN12SpecificImpl4callEv","C":"auto mongo::unique_function<void ()>::makeImpl<mongo::transport::ServiceExecutorSynchronous::scheduleTask(mongo::unique_function<void ()>, mongo::transport::ServiceExecutor::ScheduleFlags)::$_4>(mongo::transport::ServiceExecutorSynchronous::scheduleTask(mongo::unique_function<void ()>, mongo::transport::ServiceExecutor::ScheduleFlags)::$_4&&)::SpecificImpl::call()","s+":"17C"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"1036DDF10","b":"100FE4000","o":"26F9F10","s":"_ZN5mongo12_GLOBAL__N_17runFuncEPv","C":"mongo::(anonymous namespace)::runFunc(void*)","s+":"24"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"1AB6E3FA8","b":"1AB6DD000","o":"6FA8","s":"_pthread_start","s+":"94"}}}
    {"t":{"$date":"2023-07-31T09:48:31.507-04:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn34","msg":"Frame","attr":{"frame":{"a":"1AB6DEDA0","b":"1AB6DD000","o":"1DA0","s":"thread_start","s+":"8"}}}
    {"t":{"$date":"2023-07-31T09:48:31.508-04:00"},"s":"D1", "c":"COMMAND",  "id":21963,   "ctx":"conn34","msg":"Assertion while parsing command","attr":{"error":"UnknownError: assertion src/mongo/util/hex.cpp:113"}}
    
    

  • I don't think the request is to lower the 100k limit. I'm confused why inserting 2000 documents added up to 16MB works fine, but 3000 documents added up to the same size causes BSONObjectTooLarge error. Is there additional bytes added to each document that makes each document larger than its original size? Or is this a bug during query execution?
Comment by Mihai Andrei [ 17/Jul/23 ]

Hey jian.guan@mongodb.com thanks for filing this ticket! I took a look through your reproducer and had a couple of questions:

  • Can you confirm that this error is being hit on the server side, and not by the driver? More precisely, could you send over the stack trace/error logs of the error that you're hitting? I ask because in the linked script, it looks like we are attempting to create a large insert command as a BSONObj as follows:

        docs := make16MBSliceOfDocuments(numDocs)
 
	insertCmd := bson.D{
		{"insert", "test"},
		{"documents", docs},
		// Bypass document validation by default.
		{"bypassDocumentValidation", true},
		{"ordered", true},
	}            err = client.Database("test").RunCommand(context.TODO(), insertCmd).Err()
  

(that is, my reading of the above is that we create a command, which we then have to serialize to BSON in order to execute and send to the server).

  • Could you clarify what this ticket is asking the server team to do? If the request is to lower the max batch size, I don't think that this is feasible for a couple of reasons:
       - It is possible to send 100k documents in a single batch (consider if you have very small bson objects that are a handful of bytes in size; we can hit 100k elements before we reach the 16 MB limit. 
       - Even in the case where we can fit 100k moderately sized documents in a batch, it should be the responsibility of the driver to ensure that the write command that it creates (either as a BSONObj or by using OpMsg document sequences) does not exceed whatever size limit exists (that is, 16 MB for BSONObjs and then 48 MB for OpMsgRequests using document sequences)

Let me know if you have any questions about any of the above!

Comment by Jian Guan [ 17/Jul/23 ]

Yes, I can reproduce with 4.4.23, 5.0.19, and 6.0.8.

Comment by David Storch [ 14/Jul/23 ]

Another way of getting at the same thing: can you reproduce this with either 4.4.23 or 5.0.19?

Comment by David Storch [ 14/Jul/23 ]

jian.guan@mongodb.com we have made a couple fixes in this area recently (most importantly SERVER-66289 and SERVER-74806 but also SERVER-71456, SERVER-77099, and SERVER-78314). On what exact version of the server are you seeing this problem?

Generated at Thu Feb 08 08:39:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.