[KULRICE-12477] Update DocumentRefreshQueueImpl to properly delete old action requests Created: 11/Apr/14  Updated: 26/Aug/14  Resolved: 13/May/14

Status: Closed
Project: Kuali Rice Development
Component/s: Development, Performance
Affects Version/s: None
Fix Version/s: 2.4.1
Security Level: Public (Public: Anyone can view)

Type: Bug Fix Priority: Major
Reporter: Jonathan Keller Assignee: Kristina Taylor (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 1 hour
Original Estimate: 2 hours

Attachments: Text File DocumentRefreshQueueImpl.patch    
Issue Links:
relates to KULRICE-12430 Fix excessive memory usage on request... Closed
Sprint: 2.5.0-m3 Sprint 1
KAI Review Status: Not Required
KTI Review Status: Not Required
Code Review Status: Not Required
Include in Release Notes?:


Patch the DocumentRefreshQueueImpl class' refreshDocument method to properly delete action requests when it's supposed to.

There is a bug in the implementation. It looks at the generated top-level request and uses that to determine that it should not remove the old requests. (In the case of first-approve role routing, the top level one is always system-generated as a wrapper around the "real" requests.)

I've patched the code so that it checks the first present child request to see if it should remove the action request tree.

Comment by Jonathan Keller [ 11/Apr/14 ]

Related to KULRICE-12430 as this is one of the reasons we have so many action requests building up.

Comment by Kristina Taylor (Inactive) [ 12/May/14 ]

Please remember to apply this performance patch to the 2.4 branch and clean it up as per Rice standards.

Generated at Tue Jan 26 21:47:18 CST 2021 using JIRA 7.0.11#70121-sha1:19d24976997c1d95f06f3e327e087be0b71f28d4.