Project

General

Profile

Actions

Task #2602

closed

Bulk action - performance - implement a transaction for each item.

Added by Vít Švanda about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Bulk operations
Target version:
Start date:
12/07/2020
Due date:
% Done:

100%

Estimated time:
Owner:

Related issues

Related to IdStory Identity Manager - Task #1132: Bulk resolve of virtual requestsClosedVít Švanda06/11/2018

Actions
Actions #1

Updated by Vít Švanda about 4 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 0 to 90

During testing bulk action for cancel 2000 virtual requests I noticed the bulk action gradually slowed down -> I had to implement clear of a Hibernate cache and for it I had to added transaction for whole bulk action and new transaction for each item.

Transaction wrapping is used only if the BulkAction.requireNewTransaction method returns "true". For backward compatibility, the default value is "false". This feature is only used in bulk actions to cancel and execute virtual system requests now (VsRequestRealizeBulkAction, VsRequestCancelBulkAction - feature is testing within these actions).

Commit: https://github.com/bcvsolutions/CzechIdMng/commit/e62eb0b2a5664658df14b92f1643a9d6099f5b22

Actions #2

Updated by Radek Tomiška about 4 years ago

  • Related to Task #1132: Bulk resolve of virtual requests added
Actions #3

Updated by Radek Tomiška about 4 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 90 to 100

I tested it together with #1132 on 15k items, it works smoothly and code is nice, thx!

Actions #4

Updated by Radek Tomiška about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF