[openstack-dev] [Ceilometer][MongoDB] Using native time to live feature in MongoDB

2014-11-06 Thread Igor Degtiarov
Hi stackers, I'm working on solving bug [1]. Time to live feature has native implementation in MongoDB thru index. Now we remove docs from resource table if they have no relations with existing samples in meter table while samples are removed when time to live is expired. So it seems that we can

Re: [openstack-dev] [Ceilometer][MongoDB] Using native time to live feature in MongoDB

2014-11-06 Thread ZhiQiang Fan
+1 On Thu, Nov 6, 2014 at 6:27 PM, Igor Degtiarov idegtia...@mirantis.com wrote: Hi stackers, I'm working on solving bug [1]. Time to live feature has native implementation in MongoDB thru index. Now we remove docs from resource table if they have no relations with existing samples in