[SERVER-22635] $push to a large array fasserts on secondaries Created: 16/Feb/16  Updated: 10/May/18  Resolved: 10/Mar/16

Status: Closed
Project: Core Server
Component/s: Replication, Write Ops
Affects Version/s: 2.6.11
Fix Version/s: 3.3.3

Type: Bug Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: David Storch
Resolution: Done Votes: 0
Labels: fuzzer-blocker
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-8933 $push to a large array fasserts on se... Closed
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 11 (03/14/16)
Participants:
Linked BF Score: 0

 Description   

$push to an array larger than kMaxPaddingAllowed triggers a ErrorCodes::CannotBackfillArray on the secondary and causes repl writer worker to fassert. Affects 2.6+



 Comments   
Comment by Githook User [ 10/Mar/16 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-22635 adjust CannotBackfillArray error checking to ensure array mods replicate properly

Previously we would return CannotBackfillArray whenever we had to
lengthen an array to index kMaxPaddingAllowed. Now we only return the
error if we actually have to backfill kMaxPaddingAllowed null
elements.
Branch: master
https://github.com/mongodb/mongo/commit/36a86d9a57ce140ac8638f0a76bad9f0c5a2d2ba

Generated at Thu Feb 08 04:01:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.