change meter.resource_metadata column type to Text

Bug #1204638 reported by Doug Hellmann
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
High
Svetlana Shturm

Bug Description

The existing schema limits the column to 5000 characters, which may not be enough for a large metadata payload encoded as JSON. Using a Text column will let us store an arbitrary amount of data in that column without worrying about overflowing.

Changed in ceilometer:
assignee: nobody → Svetlana Shturm (sshturm)
Julien Danjou (jdanjou)
Changed in ceilometer:
milestone: none → havana-3
importance: Undecided → High
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/40822

Changed in ceilometer:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/40822
Committed: http://github.com/openstack/ceilometer/commit/c92383e1cafbe01238b3c7e44ff7599c370cbc7d
Submitter: Jenkins
Branch: master

commit c92383e1cafbe01238b3c7e44ff7599c370cbc7d
Author: Svetlana Shturm <email address hidden>
Date: Thu Aug 8 12:35:36 2013 +0400

    Change meter.resource_metadata column type

    The existing schema limits for meter.resource_metadata column to
    5000 characters, which may not be enough for a large metadata
    payload encoded as JSON.
    Using a Text column will let us store an arbitrary amount of data
    in that column without worrying about overflowing.

    Closes-Bug: #1204638

    Change-Id: I5eb1cdbb3d4770a8348682634a78ccb0f843c141

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: havana-3 → 2013.2
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.