[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: SERVER-25043 Use MONGO_INITIALIZER for the aggregate command
Branch: master
https://github.com/mongodb/mongo/commit/fe4c678a39e385e343c6f06a72c92252a132cabb

Generated at Thu Feb 08 04:08:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.