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:
Karan Kumar 2023-10-10 05:59:03 +05:30 committed by GitHub
parent fda8d2b7f3
commit 48f35b3fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;