[SERVER-11706] convertToCappedCollection command on secondaries does not work during a bg index build Created: 14/Nov/13 Updated: 11/Jul/16 Resolved: 15/Jan/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | 2.5.3 |
| Fix Version/s: | 2.5.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Michael O'Brien | Assignee: | Eric Milkie |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
Based on conversation with milkie - not 100% sure if this is correct behavior or not (or possibly just a normal consequence of yielding/timing) so i'm opening this to track efforts to probe further.
expected:
actual:
|
| Comments |
| Comment by Githook User [ 23/Jan/14 ] |
|
Author: {u'username': u'dannenberg', u'name': u'Matt Dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: |
| Comment by Githook User [ 15/Jan/14 ] |
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |
| Comment by Eric Milkie [ 20/Dec/13 ] |
|
Note: this ticket will fix the behavior such that an in-progress index build is cancelled if convertToCapped happens. For replicated nodes, if a bg index build is in progress, the command silently fails on a secondary if it is still running a background index, and this leaves the collection unconverted. I'll switch this ticket to reflect this. |