[SERVER-5608] MapReduce returns incorrect timeMillis and, when verbose, timing data Created: 15/Apr/12 Updated: 11/Jul/16 Resolved: 19/Apr/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | MapReduce |
| Affects Version/s: | 2.1.0 |
| Fix Version/s: | 2.1.1 |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | Peter Grant | Assignee: | Eric Milkie |
| Resolution: | Done | Votes: | 0 |
| Labels: | mapreduce, timing | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Operating System: | ALL |
| Participants: |
| Description |
|
Running MapReduce with verbose=true: |
| Comments |
| Comment by auto [ 18/Apr/12 ] |
|
Author: {u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: Patch submitted by Peter Grant, Github petercgrant. |
| Comment by Eric Milkie [ 18/Apr/12 ] |
|
I modified the patch a little bit. You can just call appendNumber() and it will strip off the NumberLong text without downcasting the value of the number. |
| Comment by Eric Milkie [ 18/Apr/12 ] |
|
contributor agreement signed |
| Comment by Eric Milkie [ 15/Apr/12 ] |
|
Hi Peter. Thanks for the patch; I will work on incorporating it on Monday. In the meantime, can you please sign the contributor agreement here: http://www.10gen.com/contributor |
| Comment by Peter Grant [ 15/Apr/12 ] |
|
Looks like there's a Timer t that's shadowing another Timer t. The timings are also two ints and two longs. Attaching a patch that will take care of both issues. After the patch: |