[SERVER-19513] Truncating a capped collection may not unindex deleted documents in WiredTiger Created: 21/Jul/15 Updated: 19/Sep/15 Resolved: 22/Jul/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | 3.0.5, 3.1.7 |
| Type: | Bug | Priority: | Critical - P2 |
| 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 | |||||||||||||||||||
| Backport Completed: | ||||||||||||||||||||
| Steps To Reproduce: |
|
|||||||||||||||||||
| Sprint: | Quint Iteration 7 | |||||||||||||||||||
| Participants: | ||||||||||||||||||||
| Description |
|
Issue Status as of Jul 22, 2015 ISSUE SUMMARY USER IMPACT To determine if a capped collection is impacted by this issue, users can compare the output of the following commands:
If the results are equal the capped collection is not impacted by this issue. Alternatively, users can compare the nrecords and keysPerIndex fields of the db.cappedcollection.validate() output in the mongo shell; if the values are equal then the capped collection is not impacted. WORKAROUNDS AFFECTED VERSIONS FIX VERSION Original descriptionThe captrunc command does not unindex documents removed from a WiredTiger capped collection. As rollback operations in a replicaset are performed using this command, they can leave indexes in an inconsistent state. |
| Comments |
| Comment by Githook User [ 28/Jul/15 ] |
|
Author: {u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}Message: |
| Comment by Githook User [ 28/Jul/15 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: |
| Comment by Githook User [ 22/Jul/15 ] |
|
Author: {u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}Message: (cherry picked from commit 162fb82bed75ede539bbb960f44d232f8b8e5848) |
| Comment by Githook User [ 22/Jul/15 ] |
|
Author: {u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}Message: |
| Comment by Githook User [ 22/Jul/15 ] |
|
Author: {u'username': u'ramonfm', u'name': u'Ramon Fernandez', u'email': u'ramon.fernandez@mongodb.com'}Message: Revert "Revert " This reverts commit afbf47d2dabcdd1c68b5acc065544aec858a9d66. |
| Comment by Githook User [ 22/Jul/15 ] |
|
Author: {u'username': u'ramonfm', u'name': u'Ramon Fernandez', u'email': u'ramon.fernandez@mongodb.com'}Message: Revert " This reverts commit f40286731678938e1f80653473743de8742120ab. |
| Comment by Githook User [ 22/Jul/15 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: (cherry-picked from f6a55c1a9695f67b73e1ead4a1845ac95daef983) Conflicts: |
| Comment by Githook User [ 22/Jul/15 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: |