fectrain commented on code in PR #15706:
URL: https://github.com/apache/druid/pull/15706#discussion_r1456812443
##########
processing/src/main/java/org/apache/druid/java/util/common/guava/ParallelMergeCombiningSequence.java:
##########
@@ -475,20 +475,22 @@ private int computeNumTasks()
final int computedNumParallelTasks =
Math.max(computedOptimalParallelism, 1);
- LOG.debug(
- "Computed parallel tasks: [%s]; ForkJoinPool details - sequence
parallelism: [%s] "
- + "active threads: [%s] running threads: [%s] queued submissions:
[%s] queued tasks: [%s] "
- + "pool parallelism: [%s] pool size: [%s] steal count: [%s]",
- computedNumParallelTasks,
- parallelism,
- getPool().getActiveThreadCount(),
- runningThreadCount,
- submissionCount,
- getPool().getQueuedTaskCount(),
- getPool().getParallelism(),
- getPool().getPoolSize(),
- getPool().getStealCount()
- );
+ if (LOG.isDebugEnabled()) {
+ LOG.debug(
Review Comment:
extracted as variable done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]