Slow login procedure on wiki
----------------------------
Key: JBSEAM-4098
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4098
Project: Seam
Issue Type: Bug
Components: Wiki
Reporter: Christian Bauer
Assignee: Christian Bauer
Fix For: 2.2.0.CR1
The issue is the @ContainedIn in the User class, which triggers a load of all documents
and comments created by a user during login. This mapping necessary because we index the
createdBy and lastModifiedBy usernames with Hibernate Search.
When the users lastLogin timestamp is updated during login, Hibernate Search has to update
all the documents/comments created by that user because the user instance was modified.
It's not smart enough to know that only the timestamp is updated, not the username.
This is a major issue and we should not index that and offer a different way to
search/browse content by user, probably outside of the regular search system.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira