Skip to content

Commit

Permalink
Add query id to processing pool thread name. (apache#15059)
Browse files Browse the repository at this point in the history
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()
  • Loading branch information
cryptoe authored and ektravel committed Oct 16, 2023
1 parent af8c4de commit bf1d791
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public Sequence<T> run(final QueryPlus<T> input, final ResponseContext responseC

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;

Expand Down

0 comments on commit bf1d791

Please sign in to comment.