Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace OutputServiceMJImpl#countByType() with old version
The new implementation of `OutputServiceMJImpl#countByType()` didn't work at all and was using aggregations which are only supported since MongoDB 2.2 and we need to support MongoDB 2.0 as well. The error in the new implementation using aggregations was: com.mongodb.CommandFailureException: { "serverUsed" : "127.0.0.1:27017" , "errmsg" : "exception: A pipeline stage specification object must contain exactly one field." , "code" : 16435 , "ok" : 0.0}
- Loading branch information
Jochen Schalanda
committed
May 6, 2015
1 parent
359ce5b
commit 71a1e4a
Showing
1 changed file
with
16 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters