Merge branch 'cassandra-2.1' into trunk

This commit is contained in:
Aleksey Yeschenko 2014-10-10 16:57:38 +03:00
commit 47863bc32d
2 changed files with 7 additions and 0 deletions

View File

@ -105,6 +105,7 @@
* Fix snapshot repair error on indexed tables (CASSANDRA-8020)
* Do not exit nodetool repair when receiving JMX NOTIF_LOST (CASSANDRA-7909)
Merged from 2.0:
* Fix counters in supercolumns during live upgrades from 1.2 (CASSANDRA-7188)
* Notify DT subscribers when a column family is truncated (CASSANDRA-8088)
* Add sanity check of $JAVA on startup (CASSANDRA-7676)
* Schedule fat client schema pull on join (CASSANDRA-7993)

View File

@ -39,6 +39,12 @@ public class BufferCounterUpdateCell extends BufferCell implements CounterUpdate
super(name, value, timestamp);
}
@Override
public Cell withUpdatedName(CellName newName)
{
return new BufferCounterUpdateCell(newName, value, timestamp);
}
public long delta()
{
return value().getLong(value.position());