Github user paul-rogers commented on a diff in the pull request:
https://github.com/apache/drill/pull/982#discussion_r143781752
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java ---
@@ -455,9 +455,10 @@ private void admit(QueryWorkUnit work) throws
ForemanSetupException {
.build(logger);
} catch (QueryQueueException e) {
throw new ForemanSetupException(e.getMessage(), e);
+ } finally {
+ queryManager.markQueueWaitEndTime();
--- End diff --
Good!---
