[SERVER-19521] validate should check consistency of number of index entries Created: 22/Jul/15 Updated: 07/Dec/16 Resolved: 09/Oct/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0-rc1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Geert Bosch | Assignee: | Geert Bosch |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||
| Steps To Reproduce: | Run the jstests/core/cappedb.js test on MongoDB 3.0.4 without fix for
|
||||||||||||||||||||||||||||
| Sprint: | Quint 9 09/18/15, QuInt A (10/12/15) | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
|
| Comments |
| Comment by Githook User [ 09/Oct/15 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: |
| Comment by Geert Bosch [ 09/Oct/15 ] |
|
While not really as a result of this change, I noticed that section on validation talks a lot about extents and padding factors. These are MMAPv1 only notions and are not present for other storage engines. |
| Comment by Githook User [ 09/Oct/15 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: |
| Comment by Geert Bosch [ 04/Sep/15 ] |
|
Without the fix for ) would have passed just fine and updated the size storer. |
| Comment by J Rassi [ 22/Jul/15 ] |
|
Note also that multi-key indexes can have a greater number of index entries than the count of documents in the collection, and that partial/sparse indexes can have a fewer number of index entries than the count of documents in the collection. Linking related ticket |