Comment 29 for bug 1533793

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

Reviewed: https://review.openstack.org/267692
Committed: https://git.openstack.org/cgit/openstack/gnocchi/commit/?id=614e13d47fdcaeea9d41bebc214014e0c83a0e83
Submitter: Jenkins
Branch: master

commit 614e13d47fdcaeea9d41bebc214014e0c83a0e83
Author: Julien Danjou <email address hidden>
Date: Thu Jan 14 17:31:14 2016 +0100

    ceph: fix the metric list to process with new measures

    Currently, the list returned in the Ceph driver contains a lot of
    doubloons because it returns a list and not a set. If 1 metric has N new
    measures batch waiting to be processed, the list return will be size N
    and not 1.

    Using a set() avoids that issue and the memory draining implied.

    Closes-Bug: #1533793
    Change-Id: I3a0b726aae14a17a23a365babc1a2537fb4d1052