<div dir="ltr">Hi Dmitriy,<div><br></div><div>I have taken a look and found out that cassandra-cli output after UPDATE and INSERT operation is different,</div><div><br></div><div>On first update it is<br><br>update test SET value=null where id='1';</div>
<div><br><div><div>[default@test] list test;</div><div>-------------------<br></div><div>RowKey: 1</div></div><div><br></div><div>On first insert<br></div></div><div><br></div><div><br></div><div><div><div>[default@test] list test;</div>
<div>-------------------<br></div><div>RowKey: 1</div><div>=> (name=, value=, timestamp=1398166276501000)</div></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Apr 23, 2014 at 8:56 AM, Dmitriy Ukhlov <span dir="ltr"><<a href="mailto:dukhlov@mirantis.com" target="_blank">dukhlov@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><div>Hello everyone!<br><br></div>Today I'm faced with unexpected Cassandra behavior. Please keep in mind that if you execute UPDATE query end set all fields to null (or empty collections for collection type) it can delete your record, but also it can only set values to null and keep record alive. It depends on how to record was created: using insert query or update query. Please take a look at reproduce steps here <a href="https://gist.github.com/dukhlov/11195881" target="_blank">https://gist.github.com/dukhlov/11195881</a>.<br>
</div>FYI: Cassandra 2.0.7 has been released. As we know there were some fixes for condition operation and batch operations which are necessary for us. So It would be nice to update magnetodb devstack to use Cassandra 2.0.7<span class=""><font color="#888888"><br clear="all">
<div><div><div><div><div><div><br>-- <br><div dir="ltr"><div><div>Best regards,<br></div>Dmitriy Ukhlov<br>
</div>Mirantis Inc.<br></div>
</div></div></div></div></div></div></font></span></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</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></div></div>