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
Fix performance issues with many offline sessions #15463
Fix performance issues with many offline sessions #15463
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @hmlnarik . Only one comment that doesn't really prevent merging this.
* @param offlineStr | ||
* @param useExact If {@code true}, then only client sessions from the user sessions | ||
* obtained from the {@code query} are loaded. If {@code false}, then user session | ||
* is taken as range, and all client sessions in between the minimum and maximum session |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor issue: the sentence doesn't look finished, seems like " are loaded" is missing here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, well spot. Fixed in the new commit
0b7e317
to
11eb952
Compare
Thanks for the PR. I have been thinking about this a bit and here are my thoughts:
@hmlnarik What are your thoughts on this? |
Thank you for the reply. These are exactly the arguments why I am in favour of introducing the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Fixes: #13340
Pipeline run: https://master-jenkins.redhat.com/job/universal-test-pipeline-server/2385/