cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dineshjoshi <...@git.apache.org>
Subject [GitHub] cassandra pull request #244: Refactor and add samplers for CASSANDRA-14436
Date Thu, 16 Aug 2018 06:34:46 GMT
Github user dineshjoshi commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/244#discussion_r210487768
  
    --- Diff: src/java/org/apache/cassandra/db/ReadExecutionController.java ---
    @@ -132,6 +145,15 @@ public void close()
             {
                 if (baseOp != null)
                     baseOp.close();
    +
    +            if (startTimeNanos != -1)
    +            {
    +                String cql = command.toCQLString();
    +                int timeMicros = (int) Math.min(TimeUnit.NANOSECONDS.toMicros(System.nanoTime()
- startTimeNanos), Integer.MAX_VALUE);
    --- End diff --
    
    This should be `o.a.c.u.Clock`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Mime
View raw message