Github user dineshjoshi commented on a diff in the pull request:
https://github.com/apache/cassandra/pull/244#discussion_r207697287
--- Diff: src/java/org/apache/cassandra/db/ReadExecutionController.java ---
@@ -132,6 +147,17 @@ public void close()
{
if (baseOp != null)
baseOp.close();
+
+ if (startTime != -1)
+ {
+ String cql = command.toCQLString();
+ int time = (int) Math.min(TimeUnit.NANOSECONDS.toMicros(System.nanoTime()
- startTime), Integer.MAX_VALUE);
--- End diff --
`timeMillis` or `millis` for brevity?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org
|