[OPENIDM-4677] Delete-by-bulk needed for Relationship Clear and ClearNotIn Created: 25/Nov/15 Updated: 06/Jun/17 Resolved: 06/Jun/17 |
|
Status: | Closed |
Project: | OpenIDM |
Component/s: | Module - Relationships |
Affects Version/s: | OpenIDM 4.0.0 |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | jason vincent | Assignee: | jason vincent |
Resolution: | Expired | Votes: | 0 |
Labels: | LEWIS, not-for-release-notes | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||
Sprint: | OpenIDM Sprint 53 | ||||
Epic Link: | Improve performance of OpenIDM |
Description |
The two methods called 'clear' and 'clearNotIn' in the CollectionRelationshipProvider is forced to iterate all relationships individually to delete them. The fix is to implement a bulk delete so that all records with the associated relationship can be deleted in 1 or 2 queries. Note: Sync and activityLog still needs to be invoked for unique deleted relationship. |