Skip to content

Commit

Permalink
fix memory leak in FE observer node
Browse files Browse the repository at this point in the history
  • Loading branch information
sollhui committed Jan 16, 2025
1 parent 2466d08 commit cb7122f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ private void jobRemovedTrigger(LoadJob job) {
if (map.isEmpty()) {
dbIdToLabelToLoadJobs.remove(job.getDbId());
}
Env.getCurrentGlobalTransactionMgr().getCallbackFactory().removeCallback(job.getId());
}

private void removeLoadJobIf(Predicate<LoadJob> pred) {
Expand Down

0 comments on commit cb7122f

Please sign in to comment.