Repository: cassandra Updated Branches: refs/heads/cassandra-3.0 f52f299cd -> 45f1db0d1 refs/heads/trunk b7d1d447b -> e9ef792c2
Add hopefully useful clarification comment Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/45f1db0d Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/45f1db0d Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/45f1db0d Branch: refs/heads/cassandra-3.0 Commit: 45f1db0d19e3c5513955d1435a02373f61eff36e Parents: f52f299 Author: Sylvain Lebresne <[email protected]> Authored: Tue Apr 5 16:16:50 2016 +0200 Committer: Sylvain Lebresne <[email protected]> Committed: Tue Apr 5 16:16:50 2016 +0200 ---------------------------------------------------------------------- src/java/org/apache/cassandra/db/LivenessInfo.java | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/45f1db0d/src/java/org/apache/cassandra/db/LivenessInfo.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/db/LivenessInfo.java b/src/java/org/apache/cassandra/db/LivenessInfo.java index 3c87030..411fb9a 100644 --- a/src/java/org/apache/cassandra/db/LivenessInfo.java +++ b/src/java/org/apache/cassandra/db/LivenessInfo.java @@ -30,6 +30,12 @@ import org.apache.cassandra.utils.FBUtilities; * A {@code LivenessInfo} can first be empty. If it isn't, it contains at least a timestamp, * which is the timestamp for the row primary key columns. On top of that, the info can be * ttl'ed, in which case the {@code LivenessInfo} also has both a ttl and a local expiration time. + * <p> + * Please note that if a liveness info is ttl'ed, that expiration is <b>only</b> an expiration + * of the liveness info itself (so, of the timestamp), and once the info expires it becomes + * {@code EMPTY}. But if a row has a liveness info which expires, the rest of the row data is + * unaffected (of course, the rest of said row data might be ttl'ed on its own but this is + * separate). */ public class LivenessInfo {
