History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1787
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Joshua Thompson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Server becomes unresponsive when clean workspace takes place

Created: 19/Sep/13 02:10 AM   Updated: 20/Sep/13 12:38 AM
Component/s: None
Affects Version/s: 5.0.14
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows


 Description  « Hide
From time to time we have to clean the workspace for a configuration. e.g. This can happen if you stop a build during a subversion check-out and the working copy is broken. The configuration is unusable until it is cleaned and it often isn't possible to manually call subversion to clean up the workspace. The easiest way is to clean the workspace in Quickbuild but it completely locks the server down while the data is deleted, and no subsequent requests are responded to. For large workspaces, the server can be unresponsive for a long period of time (5+ minutes).

Why is it necessary for the server to deny all other server requests while this action is performed?

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [19/Sep/13 11:49 PM]
QB should only lock your current session. Other users accessing QB should not be affected. QB locks the session for every request to prevent concurrent modifications to same session data. Normally this is not a problem, but for long running requests such as cleaning up a large workspace, it can take a long time.
You may consider to script pre-execute action of subversion checkout step to clean up workspace if previous build is canceled,or add an extra step before checkout step to call subversion clean up command under desired condition. Either way you do not need to do this manually each time a build is forcibly stopped.

Joshua Thompson [19/Sep/13 11:52 PM]
Cheers for the response Robin and the suggestions. This has cleared the issue up for me so please feel free to close out this issue.