Bug 1111449

Summary: Hold active tasks in a map, but cache finished tasks briefly
Product: [Retired] Zanata Reporter: Ding-Yi Chen <dchen>
Component: PerformanceAssignee: Sean Flanigan <sflaniga>
Status: CLOSED CURRENTRELEASE QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4CC: zanata-bugs
Target Milestone: ---   
Target Release: 3.4   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/zanata/zanata-server/pull/507
Fixed In Version: 3.4.2-SNAPSHOT (git-server-3.4.1-50-gf1b0828) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-17 06:39:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ding-Yi Chen 2014-06-20 04:59:30 UTC
This should ensure that handles for active tasks will always be available, and for a while after completion, whilst preventing copytrans handles from accumulating in memory forever.


Comment 1 Ding-Yi Chen 2014-06-24 07:22:51 UTC
Test case:

1. Perform a big copytrans which consumes more than 1 hours (e.g. gcc).
2. After 1 hour, log in as admin
3. Administration page -> Process Manager
4. Test passes if the copytrans task is still there.

Comment 2 Ding-Yi Chen 2014-06-24 08:20:51 UTC
VERIFIED with Zanata 3.4.2-SNAPSHOT (git-server-3.4.1-50-gf1b0828)