You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2015/07/06 23:40:04 UTC

[jira] [Created] (CASSANDRA-9743) RowUpdateBuilder is broken for maps and lists

Aleksey Yeschenko created CASSANDRA-9743:
--------------------------------------------

             Summary: RowUpdateBuilder is broken for maps and lists
                 Key: CASSANDRA-9743
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9743
             Project: Cassandra
          Issue Type: Bug
            Reporter: Aleksey Yeschenko
            Assignee: Sylvain Lebresne
             Fix For: 3.0 beta 1


Something's not right with {{RowUpdateBuilder}} when adding map or list entries. It breaks {{SELECT}} queries that follow afterwards, inflating the resultset, and duplicating the rows multiple times.

It manifests when a table has more than one collection, and we update them both with more than one item.

Here is a gist with minimal reproducible code: https://gist.github.com/iamaleksey/b6e9476fece029067729

The bug is currently blocking CASSANDRA-6717 code for migration from old schema keyspace to a new one.

P.S. I'm assuming that the bug is in {{RowUpdateBuilder}} because I couldn't reproduce in cqlsh. Could be that something's broken in the iterators, but trying to debug a cascade of them failed me.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)