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
|