mirror of https://github.com/apache/druid.git
RealtimeManager: Include partitionNum in chief thread name.
This commit is contained in:
parent
6be596c45e
commit
8eb441ec08
|
@ -104,7 +104,13 @@ public class RealtimeManager implements QuerySegmentWalker
|
|||
}
|
||||
chiefs.add(chief);
|
||||
|
||||
chief.setName(String.format("chief-%s", schema.getDataSource()));
|
||||
chief.setName(
|
||||
String.format(
|
||||
"chief-%s[%s]",
|
||||
schema.getDataSource(),
|
||||
fireDepartment.getTuningConfig().getShardSpec().getPartitionNum()
|
||||
)
|
||||
);
|
||||
chief.setDaemon(true);
|
||||
chief.init();
|
||||
chief.start();
|
||||
|
|
Loading…
Reference in New Issue