This bug doesn't appear to be present w/ Juju 2.2.6: > db.presence.beings.aggregate([{$group: {_id: "$key", count: {$sum: 1}}}, {$sort: {count: -1}}, {$limit: 5}]) { "_id" : "m#1", "count" : 5 } { "_id" : "m#2", "count" : 2 } { "_id" : "m#0", "count" : 2 }
That count of 5 is higher than I would expect, so maybe there are some bugs there, but it doesn't appear to be growing over time like it does with 2.3.
This bug doesn't appear to be present w/ Juju 2.2.6: beings. aggregate( [{$group: {_id: "$key", count: {$sum: 1}}}, {$sort: {count: -1}}, {$limit: 5}])
> db.presence.
{ "_id" : "m#1", "count" : 5 }
{ "_id" : "m#2", "count" : 2 }
{ "_id" : "m#0", "count" : 2 }
That count of 5 is higher than I would expect, so maybe there are some bugs there, but it doesn't appear to be growing over time like it does with 2.3.