[SERVER-5552] adding an index while an update operation yields can result in incorrect index key entries Created: 09/Apr/12 Updated: 11/Jul/16 Resolved: 13/Jun/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance, Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Aaron Staple | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
The update implementation determines if a mod is indexed using the set of index keys present when the operation begins running. If an index is added while the update operation yields, fields present in the new index may not be identified as indexed and an in place update on these fields may be applied improperly. Test:
|
| Comments |
| Comment by auto [ 13/Jun/12 ] |
|
Author: {u'date': u'2012-06-13T05:23:53-07:00', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}Message: |
| Comment by auto [ 13/Jun/12 ] |
|
Author: {u'date': u'2012-06-12T20:59:44-07:00', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}Message: |
| Comment by auto [ 13/Jun/12 ] |
|
Author: {u'date': u'2012-06-12T20:25:05-07:00', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}Message: |