bereng commented on code in PR #1891:
URL: https://github.com/apache/cassandra/pull/1891#discussion_r1111501243
##########
src/java/org/apache/cassandra/db/rows/Cell.java:
##########
@@ -42,8 +45,14 @@
public abstract class Cell<V> extends ColumnData
{
public static final int NO_TTL = 0;
- public static final int NO_DELETION_TIME = Integer.MAX_VALUE;
- public static final int MAX_DELETION_TIME = Integer.MAX_VALUE - 1;
+ public static final long NO_DELETION_TIME = Long.MAX_VALUE;
+ // -5 to leave room for any future sentinel values just in case
Review Comment:
No, but loosing 5s vs cornering yourself into a position you'll have no
maneuvering room if you need it seems quite beneficial to me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]