mirror of https://github.com/apache/cassandra
Make SS look at the right piece for expire time.
Patch by brandonwilliams reviewed by jasobrown for CASSANDRA-5857
This commit is contained in:
parent
23d7bd8575
commit
ccb32a8c8d
|
|
@ -1654,12 +1654,10 @@ public class StorageService extends NotificationBroadcasterSupport implements IE
|
|||
return Long.parseLong(pieces[2]);
|
||||
else
|
||||
return 0L;
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
if (VersionedValue.STATUS_LEFT.equals(pieces[0]))
|
||||
return Long.parseLong(pieces[1]);
|
||||
else
|
||||
return Long.parseLong(pieces[2]);
|
||||
return Long.parseLong(pieces[2]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue