Github user laurentgo commented on a diff in the pull request: https://github.com/apache/drill/pull/1024#discussion_r149546105 --- Diff: exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/DrillCursor.java --- @@ -260,6 +288,10 @@ void close() { // when the main thread is blocked waiting for the result. In that case // we want to unblock the main thread. firstMessageReceived.countDown(); // TODO: Why not call releaseIfFirst as used elsewhere? + //Stopping timeout clock --- End diff -- Nothing is actually running in Stopwatch (it's just a state to indicate if elapsed time should use the current time or the time when Stopwatch was stopped...)
---