Univention Bugzilla – Full Text Bug Listing |
Summary: | UMC App Center module startup performance is too slow | ||
---|---|---|---|
Product: | UCS | Reporter: | Erik Damrose <damrose> |
Component: | App Center | Assignee: | Dirk Wiesenthal <wiesenthal> |
Status: | CLOSED FIXED | QA Contact: | Johannes Keiser <keiser> |
Severity: | normal | ||
Priority: | P5 | CC: | wiesenthal |
Version: | UCS 4.4 | ||
Target Milestone: | UCS 4.4-3-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 5: Major Usability: Impairs usability in key scenarios |
Who will be affected by this bug?: | 1: Will affect a very few installed domains | How will those affected feel about the bug?: | 2: A Pain – users won’t like this once they notice it |
User Pain: | 0.057 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: |
Description
Erik Damrose
2019-06-18 11:29:40 CEST
Fixed in univention-appcenter 8.0.11-97A~4.4.0.201912131056 As always, this is an everlasting task. But it should be better now: Prior to this change, "query(quick=True)" skipped an "univention-app update" and only returned a subset of the attributes to save some upload time. Faster, but apparently, not fast enough. Now, "query(quick=True)" simply returns the content of a cache file. This cache file is the return value of "query(quick=False)", which is issued right afterwards by the frontend. So you always get the value of your last opening of the module. As the query is user independent, this works across sessions. Q: In order to see if there are app updates available, i now have to open the app center twice in a row? A: (and sorry for not being clear) query(quick=False) is issued right after the first call, rewrites the cache and returns the current state. This current state needs to update the view in the App Center. This should happen even today, but it is currently buggy (for some time now) and needs to be fixed along with this bug. I currently do not know which bug will be used to tackle this issue, otherwise I would have depended on it. Thank you for the clarification, for me it was not clear that the appcenter module view would be updated after query(quick=False). OK: query is cached in json file and query(quick=True) uses the content of json as answer OK: json is created on upgrade OK: yaml (57faacff9a Bug #49675: yaml) -> verified |