<div dir="ltr">Hi, <div><br></div><div><br></div><div>1) If you have 30 million instance it means that you have 300 million instance_system_metadata records </div><div>All these records will be downloaded every 6 seconds (in periodic tasks) to compute_nodes => which means that OpenStack on scale out of box doesn't work.</div>
<div><br></div><div>If you have 3 million instance the situation is the same (OpenStack doesn't work). but migration will be done for 1 minute. <br></div><div><br></div><div>So it is maximum 1 minute downtime (in actually non real case). </div>
<div><br></div><div><br></div><div>This change is actually very important because VARCHAR works much much faster then BLOB (Text) records. </div><div>So this is important change and shouldn't be -2.</div><div><br></div>
<div><br></div><div>Best regards,</div><div>Boris Pavlovic</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 25, 2013 at 12:30 AM, Michael Still <span dir="ltr"><<a href="mailto:mikal@stillhq.com" target="_blank">mikal@stillhq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi.<br>
<br>
Because I am a grumpy old man I have just -2'ed<br>
<a href="https://review.openstack.org/#/c/39685/" target="_blank">https://review.openstack.org/#/c/39685/</a> and I wanted to explain my<br>
rationale. Mostly I am hoping for a consensus to form -- if I am wrong<br>
then I'll happy remove my vote from this patch.<br>
<br>
This patch does the reasonably sensible thing of converting two<br>
columns from being text to varchar, which reduces their expense to the<br>
database. Given the data stored is already of limited length, it<br>
doesn't impact our functionality at all either.<br>
<br>
However, when I run it with medium sized (30 million instances)<br>
databases, the change does cause a 10 minute downtime. I don't<br>
personally think the change is worth such a large outage, but perhaps<br>
everyone else disagrees.<br>
<br>
Discuss.<br>
<br>
Thanks,<br>
Michael<br>
<br>
PS: I could see a more complicated approach where we did these changes<br>
"in flight" by adding columns, using a periodic task to copy data to<br>
the new columns, and then dropping the old. That's a lot more<br>
complicated to implement though.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Rackspace Australia<br>
</font></span></blockquote></div><br></div>