-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Test Coverage
-
None
Two tests in WriteProtocolSpecification are failing against latest server nightlies with the error:
- should execute split acknowledged inserts
- should report write errors on split acknowledged inserts
[2017/08/03 12:55:50.040] com.mongodb.connection.WriteProtocolSpecification > should execute split acknowledged inserts FAILED [2017/08/03 12:55:50.040] com.mongodb.WriteConcernException: Write failed with error code 10334 and error message 'BSONObj size: 45000219 (0x2AEA61B) is invalid. Size must be between 0 and 16793600(16MB) First element: insert: "com.mongodb.connection.WriteProtocolSpecification"' [2017/08/03 12:55:50.041] at com.mongodb.connection.ProtocolHelper.throwWriteException(ProtocolHelper.java:194) [2017/08/03 12:55:50.041] at com.mongodb.connection.ProtocolHelper.getWriteResult(ProtocolHelper.java:62) [2017/08/03 12:55:50.041] at com.mongodb.connection.WriteProtocol.execute(WriteProtocol.java:111) [2017/08/03 12:55:50.041] at com.mongodb.connection.InsertProtocol.execute(InsertProtocol.java:60) [2017/08/03 12:55:50.041] at com.mongodb.connection.InsertProtocol.execute(InsertProtocol.java:39) [2017/08/03 12:55:50.041] at com.mongodb.connection.ProtocolTestHelper.execute(ProtocolTestHelper.java:31) [2017/08/03 12:55:50.041] at com.mongodb.connection.WriteProtocolSpecification.should execute split acknowledged inserts(WriteProtocolSpecification.groovy:148) [2017/08/03 12:55:50.041] com.mongodb.WriteConcernException: Write failed with error code 10334 and error message 'BSONObj size: 45000219 (0x2AEA61B) is invalid. Size must be between 0 and 16793600(16MB) First element: insert: "com.mongodb.connection.WriteProtocolSpecification"' [2017/08/03 12:55:50.041] [Test com.mongodb.connection.WriteProtocolSpecification > should stop writing on write error when an ordered unacknowledged inserts must be split]
SERVER-30486 has been reported to address the mongos defect. When that issue is closed this test can be re-enabled.
- depends on
-
SERVER-30486 mongos rejects OP_INSERT messages that exceed 16MB
- Closed