mirror of https://github.com/apache/druid.git
Add query id to processing pool thread name. (#15059)
This patch changes the thread name of the processing pool of the indexers/peons/historicals from query.getType() + "_" + query.getDataSource() + "_" + query.getIntervals() to query.getId()
This commit is contained in:
parent
fda8d2b7f3
commit
48f35b3fdd
|
@ -74,7 +74,7 @@ public class SpecificSegmentQueryRunner<T> implements QueryRunner<T>
|
|||
|
||||
final Thread currThread = setName ? Thread.currentThread() : null;
|
||||
final String currThreadName = setName ? currThread.getName() : null;
|
||||
final String newName = setName ? query.getType() + "_" + query.getDataSource() + "_" + query.getIntervals() : null;
|
||||
final String newName = setName ? "processing_" + query.getId() : null;
|
||||
|
||||
final Sequence<T> baseSequence;
|
||||
|
||||
|
|
Loading…
Reference in New Issue