[Backport] HRTR: make pending task execution handling to go through all tasks on not finding worker slots (#8697)#9022
Conversation
… not finding worker slots (apache#8697) * HRTR: make pending task execution handling to go through all tasks on not finding worker slots * make HRTR methods package private that are meant to be used only in HttpRemoteTaskRunnerResource * mark HttpRemoteTaskRunnerWorkItem.State global variables final * hrtr: move immutableWorker NULL check outside of try-catch or finally block could have NPE * add some explanatory comments * add comment on explaining mechanics around hand off of pending tasks from submission to it getting picked up by a task execution thread * fix spelling
|
Updated the title to help the missing backports script. |
|
@jihoonson thanks, didn't know about that .. it would be great if that can be documented in |
|
Sounds great. It would also be great if we have a script for backporting PRs. I could be able to work on these sometime.. probably. |
|
oh, from your message I got the [wrong] idea that there was probably some script that was doing something with backported PRs and that is why titles had to follow a specific format . |
|
Aha sorry for the confusion. You got the right idea.
My comment was about a script backporting one PR in master into a branch. Gian shared his script before which is not completely configurable (for example, you have to fix the hard-corded user name in the script) and probably we can further generalize it. |
|
got it, thanks |
backports #8697