You would need to have the following occur, to make your scenario plausible:<div><br></div><div>* you write the object, which places it on a majority of the replica nodes (i.e. 2 out of 3)</div><div>* replication is slowly churning away, but doesn't quite catch up</div>
<div>* both the nodes that have the updated data fail simultaneously, before replication catches up the remaining node.</div><div><br></div><div>Swift chooses the A & P from CAP. if the swift proxy where to wait till all replicas got updated before it returned a reply, it would be choosing the C but probably dropping both the P and maybe the A (depending on how it would handle a failure).</div>
<div><br></div><div>So yes.. you are hitting CAP on the head...</div><div><br></div><div><br><div><div><br><div class="gmail_quote">On Fri, Jan 20, 2012 at 6:56 PM, Nikolaus Rath <span dir="ltr"><<a href="mailto:Nikolaus@rath.org">Nikolaus@rath.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 01/20/2012 06:35 PM, Pete Zaitcev wrote:<br>
> On Fri, 20 Jan 2012 15:17:32 -0500<br>
> Nikolaus Rath <<a href="mailto:Nikolaus@rath.org">Nikolaus@rath.org</a>> wrote:<br>
><br>
>> Thanks! So there is no way to reliably get the most-recent version of an<br>
>> object under all conditions.<br>
><br>
> If you bend the conditions hard enough to hit the CAP theorem, you do.<br>
<br>
</div>From what I have heard so far, it seems to be sufficient if all servers<br>
holding the newest replica are down for me to get old data. I don't<br>
think that this condition is already hitting the CAP theorem, or is it?<br>
<br>
<br>
Best,<br>
<div class="im HOEnZb"><br>
   -Nikolaus<br>
<br>
--<br>
 »Time flies like an arrow, fruit flies like a Banana.«<br>
<br>
  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br></div></div></div>