Bug 514808 - Investigate why "Building the workspace" prevents user interactions
Summary: Investigate why "Building the workspace" prevents user interactions
Status: CLOSED DUPLICATE of bug 329657
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 4.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-05 18:05 EDT by Lars Vogel CLA
Modified: 2017-08-04 03:40 EDT (History)
4 users (show)

See Also:


Attachments
Screenshot (47.93 KB, image/png)
2017-04-05 18:07 EDT, Lars Vogel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2017-04-05 18:05:41 EDT
I frequently have the case in which I import lots of projects.
I see a "System: Building workspace" job running.

If I do an action (like delete a project), I frequently get a "The user operation is waiting for "Building the workspace" to complete. Sometimes this dialog cancels relatively fast, sometimes is stays there very long.

I'm not sure what should happen here, but I guess the blocking job should be canceled faster.

To test:

git clone https://github.com/wildfly/wildfly
Install Maven tooling
File -> Import from file system

Wait until import has finished. Build process starts. Try to delete a project.
Comment 1 Lars Vogel CLA 2017-04-05 18:06:40 EDT
Adding Andrey, Mikael and Stefan our performance experts, maybe one of them knows why this blocking operation happens.
Comment 2 Lars Vogel CLA 2017-04-05 18:07:19 EDT
Created attachment 267672 [details]
Screenshot
Comment 3 Andrey Loskutov CLA 2017-04-06 01:01:13 EDT
Lars, as usually in such cases, please create few jstack dumps and attach them here.
Comment 4 Andrey Loskutov CLA 2017-04-06 01:09:33 EDT
I would guess the build locks workspace and as long as it is locked deleting the project must wait.
Comment 5 Stefan Xenos CLA 2017-04-06 23:41:34 EDT
Is this a dupe of bug 329657?
Comment 6 Andrey Loskutov CLA 2017-08-04 03:40:41 EDT

*** This bug has been marked as a duplicate of bug 329657 ***