[SERVER-43199] Remove RecordStore::compactsInPlace() Created: 06/Sep/19 Updated: 29/Oct/23 Resolved: 13/Sep/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Evgeni Dobranov | Assignee: | Evgeni Dobranov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution Team 2019-09-23 |
| Participants: |
| Description |
|
All storage engines (except mobile) return true for this function. Mobile does not support compacting, so RecordStore::compactSupported() returns false and makes the compactsInPlace() check redundant in this case. We can assume that any storage engine that can compact will do so in-place. We may remove the compactsInPlace() check and all the alternative logic after this check inĀ collection_compact.cpp |
| Comments |
| Comment by Githook User [ 13/Sep/19 ] |
|
Author: {'name': 'Evgeni Dobranov', 'username': 'edobranov', 'email': 'evgeni.dobranov@mongodb.com'}Message: |