Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hold reference to results until metrics are collected #3249

Merged
merged 2 commits into from
Dec 19, 2023

Conversation

thoniTUB
Copy link
Collaborator

No description provided.

Signed-off-by: Max Thonagel <12283268+thoniTUB@users.noreply.github.com>
Copy link
Collaborator

@awildturtok awildturtok left a comment

Choose a reason for hiding this comment

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

Hast du dich ein wenig mit dem LoadingCache selber beschäftigt?

Comment on lines +145 to +148

/* This log is here to prevent an NPE which could occur when no strong reference to result.getResults()
existed anymore after the query finished and immediately was reset */
log.trace("Collected metrics for execution {}. Last result received: {}:", executionId, result.getResults());
Copy link
Collaborator

Choose a reason for hiding this comment

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

hackerman.mov

@thoniTUB thoniTUB merged commit ee7388f into develop Dec 19, 2023
6 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix/result_metrics_npe branch December 19, 2023 10:34
@thoniTUB thoniTUB self-assigned this Dec 19, 2023
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.

None yet

2 participants