mirror of https://github.com/apache/cassandra
Fix bug with super columns where row cache is not updated
patch by slebresne; reviewed by jbellis for CASSANDRA-4190
This commit is contained in:
parent
cb67c98d57
commit
eb9f96146e
|
|
@ -9,6 +9,7 @@
|
|||
* (CLI) properly handle quotes in create/update keyspace commands (CASSANDRA-4129)
|
||||
* Avoids possible deadlock during bootstrap (CASSANDRA-4159)
|
||||
* fix stress tool that hangs forever on timeout or error (CASSANDRA-4128)
|
||||
* Fix super columns bug where cache is not updated (CASSANDRA-4190)
|
||||
|
||||
|
||||
1.0.9
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ public class ColumnFamily extends AbstractColumnContainer
|
|||
}
|
||||
|
||||
/**
|
||||
* Same as addAll() but do a cloneMeShallow of SuperColumn if necessary to
|
||||
* Same as addAll() but do a cloneMe of SuperColumn if necessary to
|
||||
* avoid keeping references to the structure (see #3957).
|
||||
*/
|
||||
public void addAllWithSCCopy(ColumnFamily cf, Allocator allocator)
|
||||
|
|
@ -150,7 +150,7 @@ public class ColumnFamily extends AbstractColumnContainer
|
|||
{
|
||||
for (IColumn c : cf)
|
||||
{
|
||||
columns.addColumn(((SuperColumn)c).cloneMeShallow(), allocator);
|
||||
columns.addColumn(((SuperColumn)c).cloneMe(), allocator);
|
||||
}
|
||||
delete(cf);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue