[SERVER-25043] 'aggregate' command gets registered with wrong name on Windows --dbg=on --opt=off builds Created: 13/Jul/16 Updated: 19/Jul/16 Resolved: 14/Jul/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | 3.3.9 |
| Fix Version/s: | 3.3.10 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Sharding 17 (07/15/16) |
| Participants: |
| Description |
|
Because the aggregate command is declared as a variable and not using a MONGO_INITIALIZER, on Windows DEBUG builds --dbg=on --opt=off it seems to be instantiated before the AggregationRequest::kCommandName static gets initialized and gets a bad command name. |
| Comments |
| Comment by Githook User [ 14/Jul/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |