caiconghui commented on a change in pull request #5205:
URL: https://github.com/apache/incubator-doris/pull/5205#discussion_r559307133
##########
File path:
fe/fe-core/src/main/java/org/apache/doris/load/loadv2/LoadJobScheduler.java
##########
@@ -63,12 +64,18 @@ protected void runAfterCatalogReady() {
private void process() throws InterruptedException {
while (true) {
- // take one load job from queue
- LoadJob loadJob = needScheduleJobs.poll();
- if (loadJob == null) {
+ if (!needScheduleJobs.isEmpty()) {
+ if (needScheduleJobs.peek() instanceof BrokerLoadJob &&
Catalog.getCurrentCatalog().getLoadingLoadTaskScheduler().isTaskQueueFull()) {
Review comment:
Spark Load not use async loading task pool
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]