You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Cody Marcel (JIRA)" <ji...@apache.org> on 2015/09/11 19:00:48 UTC

[jira] [Created] (PHOENIX-2252) Pherf - QueryExecutor creates a Differ for performance test

Cody Marcel created PHOENIX-2252:
------------------------------------

             Summary: Pherf - QueryExecutor creates a Differ for performance test
                 Key: PHOENIX-2252
                 URL: https://issues.apache.org/jira/browse/PHOENIX-2252
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.5.0
            Reporter: Cody Marcel
            Assignee: Cody Marcel


Logic is reversed on the QueryExecutor. It should launch the differ when !workloadExecutor.isPerformance().

if (workloadExecutor.isPerformance()) {
    thread =
            new MultithreadedDiffer(threadTime.getThreadName(), queryResult, threadTime,
                    querySet.getNumberOfExecutions(), querySet.getExecutionDurationInMs());
} else {
    thread =
            new MultiThreadedRunner(threadTime.getThreadName(), queryResult,
                    dataModelResult, threadTime, querySet.getNumberOfExecutions(),
                    querySet.getExecutionDurationInMs());
}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)