Github user belliottsmith commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/273#discussion_r219557162
  
    --- Diff: 
src/java/org/apache/cassandra/utils/streamhist/StreamingTombstoneHistogramBuilder.java
 ---
    @@ -595,12 +600,22 @@ private boolean tryCell(int cell, int point, int 
delta)
             }
         }
     
    -    private static int roundKey(int p, int roundSeconds)
    +    private static int roundKey(int point, int roundSeconds)
         {
    -        int d = p % roundSeconds;
    +        int d = point % roundSeconds;
             if (d > 0)
    -            return p + (roundSeconds - d);
    +        {
    +            point += roundSeconds - d;
    +            if (point == Cell.MAX_DELETION_TIME)
    --- End diff --
    
    This should be >


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to