commit 5a65b4de0fe46967e76832c2acf4924a53b18612
Author: ZhiQiang Fan <email address hidden>
Date: Sat Feb 7 16:23:20 2015 +0800
metering data ttl sql backend breaks resource metadata
The implementation for sql clear_expired_metering_data() uses delete()
on join() for four metatada tables, which will cause clear whole
tables no matter what join returns. And it associates metadata id
with sample id which makes no sense, the metadata id is resource's
internal id.
Reviewed: https:/ /review. openstack. org/153902 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=5a65b4de0fe 46967e76832c2ac f4924a53b18612
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5a65b4de0fe4696 7e76832c2acf492 4a53b18612
Author: ZhiQiang Fan <email address hidden>
Date: Sat Feb 7 16:23:20 2015 +0800
metering data ttl sql backend breaks resource metadata
The implementation for sql clear_expired_ metering_ data() uses delete()
on join() for four metatada tables, which will cause clear whole
tables no matter what join returns. And it associates metadata id
with sample id which makes no sense, the metadata id is resource's
internal id.
Change-Id: I98219bf27a0a76 5838d45386b7ae6 b6b980b1ae9
Closes-Bug: #1419239