Performance issue when entering or sending invitations

Description

None

Environment

Customer reported that entering the invitation or sending one takes long amount of time.

This seems to be happening for COMBO invitations.

The customer logs has been examined, and below is the trace of methods for each use case, that ends in resolving effective attributes, which in both cases takes ~4 minutes (Bulk members with groups: 3.852 min)

/unitygw/pub?regcode=7d1a4621-ef21-47b7-bb06-df8ec7309417&form=TrainingRegistration&v-1713676876510 InvitationResolver.getInvitationByCode InvitationResolver.resolveEntities (COMBO) EntityManagement.getAllEntitiesWithContactEmails ExistingUserFinder.getEntitiesIdsByContactAddresses BulkGroupQueryService.getBulkMembershipData BulkGroupQueryService.getMembershipInfo BulkGroupQueryService.getAllAttributesAsMap AttributeStatementProcessor.getEffectiveAttributes EffectiveAttributesEvaluator.getEffectiveAttributes upman InvitationsView.lambda$createInvitationDialog InvitationsService.addInvitations ProjectInvitationsManagementImpl.addInvitations EntityManagementImpl.getAllEntitiesWithContactEmails ExistingUserFinder.getEntitiesIdsByContactAddresses BulkGroupQueryService.getBulkMembershipData BulkGroupQueryService.getMembershipInfo BulkGroupQueryService.getAllAttributesAsMap AttributeStatementProcessor.getEffectiveAttributes EffectiveAttributesEvaluator.getEffectiveAttributes

Activity

Show:

Krzysztof October 16, 2024 at 9:56 AM

QA: +1, works very well now!

Krzysztof October 3, 2024 at 7:26 AM

Moved back - see CR.

Krzysztof September 9, 2024 at 4:19 PM

the first step: check if ALL we need is entity with one attribute: email.

Done

Details

Assignee

Reporter

Fix versions

Priority

Created September 8, 2024 at 10:47 AM
Updated October 16, 2024 at 9:57 AM
Resolved October 16, 2024 at 9:57 AM