[MGNLPER-135] Long running searches cause performance issues in Admin Central Created: 18/Jun/20 Updated: 19/Mar/21 Resolved: 11/Dec/20 |
|
| Status: | Closed |
| Project: | Periscope |
| Component/s: | None |
| Affects Version/s: | 1.2.1, 1.2.2 |
| Fix Version/s: | 1.2.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sönke Schmidt | Assignee: | Šimon Demočko |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | java11, maintenance, performance | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 2.75d | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||||||||||||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||||||||||||||||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | Maintenance 14, Maintenance 36, Maintenance 37 | ||||||||||||||||||||||||||||||||||||||||||||
| Story Points: | 8 | ||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Running searches against a very big workspace using info.magnolia.periscope.search.jcr.JcrSearchResultSupplier might take a considerable amount of time. Especially during the initial search after logging in to Admin Central. E.g. as soon as you log in, a search is run against the website workspace without a query term. As long as the search is running Vaadin UIDL requests are constantly sent to Magnolia. Steps to reproduce:
A combination of the fixes provided in this ticket, alongside |
| Comments |
| Comment by Antonín Juran [ 09/Jul/20 ] |
|
Couldn't reproduce. Tested with 50000 pages in website workspace. Could you please provide more details how to reproduce. |
| Comment by Richard Gange [ 26/Oct/20 ] |
|
A had a customer facing this same issue. He reported that he was able to workaround the problem.
|
| Comment by Marvin Kerkhoff [ 09/Nov/20 ] |
|
I was able to reproduce this issue, you can have a look at the video. |
| Comment by Richard Gange [ 09/Nov/20 ] |
|
For now the workaround is to use Java 8. It seems there is an issue with Java 11. |
| Comment by Šimon Demočko [ 09/Dec/20 ] |
|
One of the factors hitting performance is infinite polling. There are two main reasons for that.
Combination of the open PR in this issue, |