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 22851 - PVCS: "Get All" command doesn't always work reliably.
Summary: PVCS: "Get All" command doesn't always work reliably.
Status: CLOSED DUPLICATE of bug 23083
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-26 11:51 UTC by Jiri Kovalsky
Modified: 2003-07-01 13:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump made when "Get All" command was pretending to run. (12.00 KB, text/plain)
2002-04-26 11:52 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2002-04-26 11:51:09 UTC
NetBeans 3.3, Windows 2000 with JDK 1.4.1 build #10

Description:
============
"Get All" command as well as "Add All" command
sometimes do not work reliably especially on
complex data structures. What happens is that
command stays running although nothing happens on
disk. However IDE stays responsive. Take a look at
the thread dump attached made in such a state.

Steps to reproduce:
===================
1. Prepare empty PVCS repository archive and setup
new working directory for purpose of this case.
2. Copy there whole vcsgeneric module.
3. Mount this PVCS filesystem and run "PVCS|Add
All" command on "vcsgeneric" package.
4. If everything was uploaded all right, prepare
new working directory, mount it and try to "Get
All" whole module.
5. You will either encounter described behaviour
or not everything will be downloaded from archive.
Comment 1 Jiri Kovalsky 2002-04-26 11:52:27 UTC
Created attachment 5566 [details]
Thread dump made when "Get All" command was pretending to run.
Comment 2 Martin Entlicher 2002-04-26 13:26:53 UTC
Reassigning...
Comment 3 Martin Entlicher 2002-05-02 18:27:08 UTC
Starting to look at the problem...
Comment 4 Martin Entlicher 2002-05-03 09:35:59 UTC
Well, the problem is in the cache behavior. The cache is decaying as
soon as the underlaying FileObjects are not needed. Thus I have to
either held all FileObjects or the cache behavior needs to be fixed.

For now holding all FileObjects to suppress cache decay, but it needs
a better fix described in issue #23083.


*** This issue has been marked as a duplicate of 23083 ***
Comment 5 Martin Entlicher 2002-05-03 09:51:46 UTC
Just a note: holding all FileObjects fix the "Add All" command, which
should now work reliably. "Get All" can still deadlock.

There is however one workaround: Expand the whole directory tree
structure in the Explorer before "Get All" is executed. This will help
the command to finish successfully.
Comment 6 Jiri Kovalsky 2002-05-10 08:47:52 UTC
Okay, I hope a fix for the issue #23083 will be ready soon. Anyway I
am convinced this one should be mentioned in release notes for Forte
for Java 4.0.
Comment 7 Martin Entlicher 2002-05-30 10:50:16 UTC
The problem should be fixed in dev build on May 31.
Issue #23083 was fixed and a recursive refresh is performed at the
beginning of every recursive command if necessary, to build the cache
structure.

Comment 8 Patrick Keegan 2003-04-02 14:54:08 UTC
removing RELNOTE keyword
Comment 9 Quality Engineering 2003-07-01 13:03:51 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.