Comment 16 for bug 1597679

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/ceilometer (9.0/mitaka)

Reviewed: https://review.fuel-infra.org/23859
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka

Commit: 33fd3ac67dba9decdc89ca094a376cfefaf07eb4
Author: Igor Degtiarov <email address hidden>
Date: Wed Aug 3 09:52:26 2016

[MongoDB] add compound index for statistic request

MongoDB cannot use index intersection if at least one of indexes use with
boundary query. It ceilometer statistic we always have query with interval
for timestamp field. That is why only compound index could improve
performance of search stage in aggregation pipeline.

Change-Id: Id452f22e9b9ea1198b3ccee0ba5cd292b45bdc03
Closes-Bug: #1594947
Closes-Bug: #1597679