different return orders depending on backend

Bug #1294663 reported by gordon chung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Invalid
Medium
Unassigned

Bug Description

mongo/db2nosql backend sorts samples by descending timestamp when querying for samples. HBase backend does not do this... we need to make sure all backends return the same ordering

Julien Danjou (jdanjou)
Changed in ceilometer:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Ildiko Vancsa (ildiko-vancsa) wrote :

Hi Gordon,

I wrote some tests and according to the results, the only backend, which does not provide default ordering by 'timestamp', is HBase.

Which SQL backend did not support this default order by exactly? Did you try both the simple and complex query?

Best Regards,
Ildiko

Revision history for this message
gordon chung (chungg) wrote :

... i'm an idiot. was looking at wrong code.... i'll leave this open for hbase (please close if hbase is not necessary)

description: updated
Revision history for this message
Ildiko Vancsa (ildiko-vancsa) wrote :

Hi Gordon,

Thanks for the quick update. No worries, I tried to check some doc about HBase for orderby support, I'm not sure that I found the solution, I have to look deeper to decide and I also need to check the currently supported version.

In the worse case I will ask Nadya's opinion about this and then I/we will decide what to do with this bug. :)

Best Regards,
Ildiko

Changed in ceilometer:
assignee: nobody → Nadya Privalova (nprivalova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to ceilometer (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/84674

Revision history for this message
gordon chung (chungg) wrote :
Changed in ceilometer:
status: Triaged → Invalid
assignee: Nadya Privalova (nprivalova) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.