Skip to content

Commit

Permalink
[Enhancement] move the updateExecStatus out of Coordinator Lock (#49073)
Browse files Browse the repository at this point in the history
Signed-off-by: Murphy <[email protected]>
  • Loading branch information
murphyatwork authored Jul 30, 2024
1 parent df5a254 commit 07b9ee1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -956,12 +956,12 @@ public void updateFragmentExecStatus(TReportExecStatusParams params) {

queryProfile.updateProfile(execState, params);

if (!execState.updateExecStatus(params)) {
return;
}

lock();
try {
if (!execState.updateExecStatus(params)) {
return;
}

queryProfile.updateLoadChannelProfile(params);
} finally {
unlock();
Expand Down

0 comments on commit 07b9ee1

Please sign in to comment.