Comment 2 for bug 1411492

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

Reviewed: https://review.openstack.org/147766
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=b2fd1dee45c19477223286f8be2118e584d9b3eb
Submitter: Jenkins
Branch: master

commit b2fd1dee45c19477223286f8be2118e584d9b3eb
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