My MongoDB service went down due to an error - BSONObjectTooLarge, which occurs when a single document exceeds the 16MB limit. Has anyone else encountered this error, or is it a bug? Does anyone know a solution for it?
{“t”:{“$date”:“2025-02-15T15:01:12.082+00:00”},“s”:“E”, “c”:“ASSERT”, “id”:23077, “ctx”:“ftdc”,“msg”:“Assertion”,“attr”:{“error”:“BSONObjectTooLarge: BSONObj size: 17041110 (0x10406D6) is invalid. Size must be between 0 and 16793600(16MB) First element: start: new Date(1739631671000)”,“file”:“src/mongo/bson/bsonobj.cpp”,“line”:101}}
{“t”:{“$date”:“2025-02-15T15:01:12.084+00:00”},“s”:“F”, “c”:“CONTROL”, “id”:6384300, “ctx”:“ftdc”,“msg”:“Writing fatal message”,“attr”:{“message”:“terminate() called. An exception is active; attempting to gather more information\n”}}