[SERVER-63662] Return fewer than 16MB of violating documents in collMod conversion response Created: 15/Feb/22  Updated: 03/Mar/22  Resolved: 03/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Pavithra Vetriselvan Assignee: Shin Yee Tan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backport Requested:
v4.2
Sprint: Execution Team 2022-02-21, Execution Team 2022-03-07
Participants:

 Description   

When scanning the index for duplicates, we should set a limit on the number of violations we keep track of since we can only return a max of 16MB in the command response.

Make sure this works for both dryRun: true and unique: true.



 Comments   
Comment by Githook User [ 03/Mar/22 ]

Author:

{'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}

Message: SERVER-63662 Return fewer than 8MB of violating documents in collMod conversion response
Branch: master
https://github.com/mongodb/mongo/commit/c17ce34104fe2ece4465d0cb25ef705e8375dda0

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