[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: |
|
||||
| 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: |