[SERVER-13053] createIndexes command should be explicitly logged Created: 05/Mar/14 Updated: 11/Jul/16 Resolved: 21/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | 2.6.0-rc0 |
| Fix Version/s: | 2.6.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bernie Hackett | Assignee: | Eric Milkie |
| Resolution: | Done | Votes: | 1 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
When attempting to call createIndexes against a 2.4.x mongod I see the following in the log:
Calling createIndexes against 2.6rc0 results in a log message like this:
The createIndexes: "bar" part should really be in the 2.6 log as well. |
| Comments |
| Comment by Githook User [ 21/Mar/14 ] | |||||||
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: | |||||||
| Comment by Githook User [ 21/Mar/14 ] | |||||||
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: | |||||||
| Comment by Githook User [ 21/Mar/14 ] | |||||||
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: | |||||||
| Comment by Githook User [ 21/Mar/14 ] | |||||||
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: | |||||||
| Comment by Eric Milkie [ 21/Mar/14 ] | |||||||
|
Log output will now look like this:
| |||||||
| Comment by Eric Milkie [ 11/Mar/14 ] | |||||||
|
My code proposal will generate a log that looks like this:
Where each index build is individually profiled, in addition to the entire command. This works similar to the way batched inserts are being profiled. | |||||||
| Comment by Eric Milkie [ 05/Mar/14 ] | |||||||
|
In order to help fix |