This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 246437 - Task repositories don't scale for many team projects
Summary: Task repositories don't scale for many team projects
Status: VERIFIED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Team Framework (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-13 13:25 UTC by Tomas Pavek
Modified: 2014-09-17 12:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Pavek 2014-08-13 13:25:24 UTC
Currently when the user logs into the team server, the task repositories for each team project are determined, added to Tasks window and refreshed. This may take extremely long if the user is a member of many projects. It is a rather special situation, but we have already seen it. The IDE can become hardly usable in such case.

It would be nice to provide some option not to load all task repositories for all projects. With a higher number of projects it is anyway less likely the user really needs an up-to-date overview of all the repositories. It seems sufficient to add the repository when the user selects the project in Team view.

A simplest way would be to ask the user whether they want to load all task repositories upfront, or just on demand when they select a project. The question could be asked e.g. after login when the number of projects is higher than a threshold (10?), or be directly part of the login dialog.

In the on demand mode the task repositories would be just added when a project is selected, but not removed (if another project is selected).

Optionally the IDE could remember several (5?) selected projects and add their task repositories automatically in the next session (restoring all could be too many). This is only nice-to-have.
Comment 1 Tomas Stupka 2014-08-29 13:26:49 UTC
fixed in core-main #0ff23a446e69
Comment 2 Tomas Stupka 2014-08-29 13:28:21 UTC
not really fixed, more like a first shot, so keeping open for now ...
Comment 3 Quality Engineering 2014-08-31 02:05:20 UTC
Integrated into 'main-silver', will be available in build *201408310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0ff23a446e69
User: Tomas Stupka <tstupka@netbeans.org>
Log: issue #246437 - Task repositories don't scale for many team projects
Issue #246437 - Task repositories don't scale for many team projects
Comment 4 Tomas Stupka 2014-09-01 15:33:39 UTC
core-main #86b75eaae52f

- added handling of builds (listed according to the auto sync setting)
- recent projects list is now persisted between nb sessions
Comment 5 Quality Engineering 2014-09-02 02:34:15 UTC
Integrated into 'main-silver', will be available in build *201409020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/86b75eaae52f
User: Tomas Stupka <tstupka@netbeans.org>
Log: issue #246437 - Task repositories don't scale for many team projects
Comment 6 Quality Engineering 2014-09-06 04:54:46 UTC
Integrated into 'main-silver', will be available in build *201409060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/986e69826477
User: Tomas Stupka <tstupka@netbeans.org>
Log: get allIssuesQuery only for MyProjectNode-s which are relevant to the auto sync setting in the team dashboard

issue #246437 - Task repositories don't scale for many team projects
Comment 7 Tomas Pavek 2014-09-10 16:27:27 UTC
Three synchronization modes available:
1) Selected Project Only
2) Recently Selected Projects
3) All Projects

#3 was the behavior so far, now the default is #2. The user will get the last 10 (can be set via team.dashboard.recentProjectsCount system property) selected projects synchronized after login (i.e. their tasks and builds setup loaded and refreshed).
Comment 8 Tomas Pavek 2014-09-10 17:23:29 UTC
Verified in current trunk (build from default branch).
Comment 9 Quality Engineering 2014-09-17 12:13:00 UTC
Integrated into 'releases/release801', will be available in build *201409171118* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/446a1dd010ae
User: Tomas Stupka <tstupka@netbeans.org>
Log: issue #246437 - Task repositories don't scale for many team projects
Issue #246437 - Task repositories don't scale for many team projects