unnecessary calls to method distinct('_id')
Bug #1204607 reported by
Tong Li
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
Tong Li |
Bug Description
In impl_mongodb.py, there are few places which makes call like this distinct('_id'), since _id field is already unique in all collections, there is no need to do that call to waste time. That call should be removed or reworked on. Specifically in get_users and get_projects method.
Changed in ceilometer: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ceilometer: | |
assignee: | nobody → Tong Li (litong01) |
Changed in ceilometer: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/38537
Review: https:/