[SERVER-16030] Update sizeStorer data when collection validate is called Created: 07/Nov/14 Updated: 15/Jan/15 Resolved: 24/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 2.8.0-rc5 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Daniel Pasette (Inactive) | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
Because storageSize and count can become inaccurate after an unclean shutdown, we should provide a way to update these values. As collection validate already walks all the indexes and the collection records, we should verify that the sizeStorer record matches and update it to the real value (with a message) in the case that it validates successfully. |
| Comments |
| Comment by Githook User [ 24/Dec/14 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Githook User [ 24/Dec/14 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |