[#661] Enabling plugin very slow for projects with a site admin

Description

Summary:

Detailed description

Switching from git to svn in our "siteadmin" seems to create zillions DELETE requests on nss_usergroups.

I see that: Group->setPluginUse(scmsvn, 1) -> Group->normalizeAllRoles()

This calls something like: sysGroupAddUser -> sysGroupCheckUser -> sysGroupRemoveUser (checkuser seems to remove and re-add users in all cases)

Everything looks sensible on a local point of view, but in the big picture, I'm triggering around 10 000 SQL queries per siteadmin member (5000 projects to quit and rejoin in a row).

Optimization?

General Information
Submitted by:
Sylvain Beucler
Date Submitted: 2014-04-23 08:17
Last Modified by: Nobody
Last Modified: 2017-11-02 20:00
Date Closed: 2014-05-15 14:04
Permalink: https://fusionforge.org/tracker/a_follow.php/661
Actions
Internal Fields
Data Type: Bugs
Assigned to: Sylvain Beucler (beuc-inria)
State: Closed
Priority: 3
Extra Fields
Resolution:
Fixed
Severity:
none
Target Release:
5.3.1
Follow-up tabs
Message  ↓
Date: 2014-05-15 14:04
Sender: Sylvain Beucler

Some optimization done in a02c2423f58a65adb811a8d3156b17bd982880a9

No attached documents

No related commits.

Field Old Value Date By
assigned_tonone2014-05-15 14:23
Franck Villaume
status_idOpen2014-05-15 14:04
Sylvain Beucler
close_dateNone2014-05-15 14:04
Sylvain Beucler
Target ReleaseNone2014-05-15 14:04
Sylvain Beucler
ResolutionNone2014-05-15 14:04
Sylvain Beucler

No relations found.