<div dir="ltr">Yeah, that commit definitely disables the file-backed queue -- it certainly *looks* like we want to be rid of it, but all of the code is left in place and even updated to support the new format. So my confusion remains. Hopefully Zhi Yan can clarify.<div><br></div><div>Link added. Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 12, 2015 at 12:59 AM, Flavio Percoco <span dir="ltr"><<a href="mailto:flavio@redhat.com" target="_blank">flavio@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 11/02/15 13:42 -0800, Chris St. Pierre wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I recently proposed a change to glance to turn the file-backed scrubber queue<br>
files into JSON: <a href="https://review.openstack.org/#/c/145223/" target="_blank">https://review.<u></u>openstack.org/#/c/145223/</a><br>
<br>
As I looked into it more, though, it turns out that the file-backed queue is no<br>
longer usable; it was killed by the implementation of this blueprint: https://<br>
<a href="http://blueprints.launchpad.net/glance/+spec/image-location-status" target="_blank">blueprints.launchpad.net/<u></u>glance/+spec/image-location-<u></u>status</a><br>
<br>
But what's not clear is if the implementation of that blueprint should have<br>
killed the file-backed scrubber queue, or if that was even intended. Two things<br>
contribute to the lack of clarity:<br>
<br>
1. The file-backed scrubber code was left in, even though it is unreachable.<br>
<br>
2. The ordering of the commits is strange. Namely, commit 66d24bb (https://<br>
<a href="http://review.openstack.org/#/c/67115/" target="_blank">review.openstack.org/#/c/<u></u>67115/</a>) killed the file-backed queue, and then,<br>
*after* that change, 70e0a24 (<a href="https://review.openstack.org/#/c/67122/" target="_blank">https://review.openstack.org/<u></u>#/c/67122/</a>) updates<br>
the queue file format. So it's not clear why the queue file format would be<br>
updated if it was intended that the file-backed queue was no longer usable.<br>
<br>
Can someone clarify what was intended here? If killing the file-backed scrubber<br>
queue was deliberate, then let's finish the job and excise that code. If not,<br>
then let's make sure that code is reachable again, and I'll resurrect my<br>
blueprint to make the queue files suck less.<br>
<br>
Either way I'm happy to make the changes, I'm just not sure what the goal of<br>
these changes was, and how to properly proceed.<br>
<br>
Thanks for any clarification anyone can offer.<br>
</blockquote>
<br></div></div>
I believe the commit you're looking for is this one: f338a5c870a36e493f8c818fa78394<u></u>2d1e0565a4<br>
<br>
There the scrubber queue was switched on purpose, which leads to the<br>
conclusion that we're moving away from it. I've not participated in<br>
discussions around the change related to the scrubber queue so I'll<br>
let Zhi Yan weight in here.<br>
<br>
Thanks for bringing this up,<br>
Flavio<br>
<br>
P.S: Would you mind putting a link to this discussion on the spec<br>
review?<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--<br>
Chris St. Pierre<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
______________________________<u></u>______________________________<u></u>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.<u></u>openstack.org?subject:<u></u>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</blockquote>
<br>
<br>
-- <br>
@flaper87<br>
Flavio Percoco<br>
</font></span><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Chris St. Pierre</div>
</div>