caishunfeng commented on a change in pull request #7015:
URL: https://github.com/apache/dolphinscheduler/pull/7015#discussion_r758190170
##########
File path:
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterSchedulerService.java
##########
@@ -273,7 +273,7 @@ private void scheduleProcess() throws Exception {
private List<Command> findCommands() {
int pageNumber = 0;
- int pageSize = masterConfig.getFetchCommandNum();
+ int pageSize = masterConfig.getFetchCommandNum() *
ServerNodeManager.MASTER_SIZE;
Review comment:
If have many master server, fetch size will be very large, I'm not sure
whether it's a hidden danger.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]