Bug 50689 - cache purge massively prolonging user import
cache purge massively prolonging user import
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 4.4
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v4-errata
Assigned To: Daniel Tröder
Sönke Schwardt-Krummrich
:
Depends on: 50416
Blocks:
  Show dependency treegraph
 
Reported: 2020-01-07 11:30 CET by Daniel Tröder
Modified: 2020-02-05 18:39 CET (History)
6 users (show)

See Also:
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?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.171
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020010421000404
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2020-01-07 11:30:08 CET
The commit
---
[4.4] 9927f462f Bug #50416: handle stale OU name cache
---
for Bug #50416 leads to the purging of a OU-name-cache after every creation/modification/move/deletion of an ImportUser.
If a lot of OUs exist, this massively prolongs user import jobs.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2020-01-07 11:51:24 CET
Additionally, the "self.lo" in this problematic commit should be replaced with "lo".
Comment 2 Daniel Tröder univentionstaff 2020-01-07 12:48:46 CET
The unnecessary cache purge was removed and "self.lo" changed to "lo".

[4.4] 4c1472631 Bug #50689: fix premature cache purge
[4.4] 19427bb0c Bug #50689: advisory update
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2020-02-03 11:05:18 CET
(In reply to Daniel Tröder from comment #2)
> The unnecessary cache purge was removed and "self.lo" changed to "lo".

OK (part of 4c1472631)
 
> [4.4] 4c1472631 Bug #50689: fix premature cache purge
> [4.4] 19427bb0c Bug #50689: advisory update

OK

Package: ucs-school-import
Version: 17.0.22A~4.4.0.202001071153
Comment 4 Jürn Brodersen univentionstaff 2020-02-05 18:39:02 CET
UCS@school 4.4 v4 has been released (errata update to the release).

https://docs.software-univention.de/changelog-ucsschool-4.4v4-de.html#changelog:ucsschool:2020-02-05

If this error occurs again, please clone this bug.