Fix backward VV serialization of the LEFT state

This commit is contained in:
Brandon Williams 2013-06-26 15:52:43 -05:00
parent b97b490dff
commit 54266ea705
3 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,6 @@
1.2.7
* Fix serialization of the LEFT gossip value (CASSANDRA-5696)
1.2.6
* Fix tracing when operation completes before all responses arrive (CASSANDRA-5668)
* Fix cross-DC mutation forwarding (CASSANDRA-5632)

View File

@ -13,6 +13,16 @@ restore snapshots created with the previous major version using the
'sstableloader' tool. You can upgrade the file format of your snapshots
using the provided 'sstableupgrade' tool.
1.2.7
=====
Upgrading
---------
- If you have decommissioned a node in the past 72 hours, it is imperative
that you not upgrade until such time has passed, or do a full cluster
restart (not rolling) before beginning the upgrade. This only applies to
decommission, not removetoken.
1.2.6
=====

View File

@ -148,8 +148,8 @@ public class VersionedValue implements Comparable<VersionedValue>
public VersionedValue left(Collection<Token> tokens, long expireTime)
{
return new VersionedValue(versionString(VersionedValue.STATUS_LEFT,
Long.toString(expireTime),
makeTokenString(tokens)));
makeTokenString(tokens),
Long.toString(expireTime)));
}
public VersionedValue moving(Token token)