Skip to content

[Fix#4222][Master]Add the priority queue to ensure that tasks are submitted according to priority.#4232

Merged
xingchun-chen merged 4 commits intoapache:1.3.4-preparefrom
lgcareer:1.3.4-prepare-feature-3878
Dec 16, 2020
Merged

[Fix#4222][Master]Add the priority queue to ensure that tasks are submitted according to priority.#4232
xingchun-chen merged 4 commits intoapache:1.3.4-preparefrom
lgcareer:1.3.4-prepare-feature-3878

Conversation

@lgcareer
Copy link
Copy Markdown
Contributor

What is the purpose of the pull request

[Fix#4222][Master]Add the priority queue to ensure that tasks are submitted according to priority.

Brief change log

Add the priority queue to ensure that tasks are submitted according to priority.

  • Add PeerTaskInstancePriorityQueue

@davidzollo davidzollo linked an issue Dec 15, 2020 that may be closed by this pull request
logger.info("task {},id:{} depend result : {}",task.getName(), task.getId(), dependResult);
}
} catch (Exception e) {
e.printStackTrace();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use logger.error...

Copy link
Copy Markdown
Member

@CalvinKirs CalvinKirs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@sonarqubecloud
Copy link
Copy Markdown

@xingchun-chen
Copy link
Copy Markdown
Contributor

+1

@xingchun-chen xingchun-chen merged commit e6118b8 into apache:1.3.4-prepare Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][Api] Task priority execution order is wrong

3 participants