[SERVER-62052] Usage of BSONColumn in the validate command can run out-of-memory Created: 14/Dec/21  Updated: 29/Oct/23  Resolved: 15/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0, 5.2.0-rc4

Type: Bug Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.2
Sprint: Execution Team 2021-12-27
Participants:
Linked BF Score: 152

 Description   

SERVER-61047 added a validate hook for testing that we can roundtrip arbitrary data in Collections using BSONColumn. However, there is no upper limit on the number of documents in the Collection we try to compress/decompress at once. This has resulted in build failures running out-of-memory particularly when running against the oplog collection.



 Comments   
Comment by Githook User [ 29/Dec/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-62052 Roundtrip BSONColumn in the validate command periodically

(cherry picked from commit 623c71a90dff35818a5fecab8a18eb3a4bfb7f1c)
Branch: v5.2
https://github.com/mongodb/mongo/commit/7c17ce0f58959af9454a9d5133de67ea574eacce

Comment by Githook User [ 15/Dec/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-62052 Roundtrip BSONColumn in the validate command periodically
Branch: master
https://github.com/mongodb/mongo/commit/623c71a90dff35818a5fecab8a18eb3a4bfb7f1c

Generated at Thu Feb 08 05:54:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.