Comment 4 for bug 1411492

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (stable/juno)

Reviewed: https://review.openstack.org/150223
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=d5262707a9956c58db203c6b792ae94140588191
Submitter: Jenkins
Branch: stable/juno

commit d5262707a9956c58db203c6b792ae94140588191
Author: lqslan <email address hidden>
Date: Fri Jan 16 11:31:55 2015 +0800

    [DB2 nosql] Create TIMESTAMP type index for 'timestamp' field

    Currently, when doing ceilometer-dbsync, ceilometer will create an
    index for 'timestamp' field of meter collection. But the datatype
    of the field is set to 'VARCHAR' which is not correct.

    The patch insert a document with 'timestamp' before creating the
    index of 'timestamp', then DB2 nosql will create the correct index
    type for 'timestamp' field.

    Change-Id: I69dd2fc8d552f5dbb2485c2a5eab55b3bee71e29
    Closes-Bug: #1411492
    (cherry picked from commit b2fd1dee45c19477223286f8be2118e584d9b3eb)