[SERVER-52896] Handle compact during tenant migrations Created: 16/Nov/20 Updated: 14/Dec/22 Resolved: 17/Nov/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Esha Maharishi (Inactive) | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | pm-1791_other_required | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Sharding
|
| Participants: |
| Description |
|
TheĀ compact command rewrites and defragments all data and indexes in a collection. It does not generate oplog entries. Note that patch set 1 of this CR forĀ I don't think we need to support compact during tenant migrations, since the data will be written fresh on the recipient anyway. |
| Comments |
| Comment by Githook User [ 14/Dec/22 ] |
|
Author: {'name': 'Esha Maharishi', 'email': 'esha.maharishi@mongodb.com', 'username': 'EshaMaharishi'}Message: There are two TODO's on However, The TODO for captrunc was probably meant to be on The TODO for compact was probably meant to be on |