...
BugZero found this defect 2842 days ago.
Due to the static initializer for 'AggregationRequest::kCommandName' running after that of the 'aggregate' command on mongos, it does not end up getting registered correctly.
xgen-internal-githook commented on Fri, 5 May 2017 23:07:04 +0000: Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'} Message: SERVER-28983 Get rid of duplicated code in the aggregation command Branch: master https://github.com/mongodb/mongo/commit/fb6cd8b9eca492a38d2a493edc5874734fe4555f xgen-internal-githook commented on Thu, 27 Apr 2017 17:20:46 +0000: Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'} Message: SERVER-28983 Fix undefined behaviour for the 'aggregate' command Branch: master https://github.com/mongodb/mongo/commit/eec194e751f6c36e53c241da3a1b42fd4b9b98a1