-
Bug
-
Resolution: Fixed
-
Medium
-
5.8.18, 5.10.0
-
3
-
Severity 2 - Major
-
Summary
Confluence does not clear its session during a full sync, making Hibernate track a gigantic pool of objects, i.e. synchronizing a large LDAP is virtually impossible; since it takes days to complete (even with very good hardware).
With more than 60K users the synchronization can take up to 5 days. But with flushing session and clearing it, the synchronization can be completed in 10 minutes.
Environment
- All Confluence versions with crowd-api-2.8.3
- All supported databases are impacted
Steps to Reproduce
- Install Confluence 5.8 and set up connection to large LDAP instance
- Perform an upgrade to 5.10
Expected Results
Confluence is able to finish the synchronization in couple hours
Actual Results
The synchronization is taking up to 6 days
Workaround
No verified workaround available.
bjarne.holen843903303 proposed to use session.flush(), session.clear() via. the HibernateTemplate after each user was synchronized.
- is incorporated by
-
CONFSERVER-44221 Slow user synchronisation from Crowd directory
- Closed
- is related to
-
CONFSERVER-45698 Confluence 5.9+ much slower to sync users and remove users from groups compared to 5.8
- Closed
- mentioned in
-
Page Loading...