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 28088 - VSS|PVCS: Better synchronization of parallel commands.
Summary: VSS|PVCS: Better synchronization of parallel commands.
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2002-10-17 16:47 UTC by Jiri Kovalsky
Modified: 2003-07-14 16:03 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 Jiri Kovalsky 2002-10-17 16:47:41 UTC
Development build #200210170100 of NetBeans 4.0
Windows 2000 with FCS build #21 of JDK 1.4.1

Description:
============
The synchronization of VSS commands is still not
optimal, because it happens quite often that some
commands invoked on multiselection of files fail
due to SS.INI file lockout: "File C:\Program
Files\Microsoft Visual
Studio\Common\VSS\users\jk110465\ss.ini is already
open."

Steps to reproduce:
===================
1. Mount VSS filesystem and multiselect about 5
files from different directories using CTRL key.
2. Invoke "VSS|Check Out" on this multiselection.
3. Some of "Check Out" commands will probably fail.
Comment 1 Martin Entlicher 2002-10-17 17:12:51 UTC
It seems, that only one VSS command should be executed at a time to
fix this problem.
Comment 2 David Kaspar 2002-11-21 17:18:11 UTC
This problem appears in PVCS|Add command too.
I've tried to add "Java GUI Forms|JFrame" source into PVCS repository
(.java and .form files).
After Add command finish sometimes there the file has "Local, Current"
status. (One of Add commands ends with error that there is another
user's lock)
Comment 3 Jiri Kovalsky 2003-01-09 16:21:02 UTC
This is testability issue. Increasing priority accordingly.
Comment 4 Jiri Kovalsky 2003-01-09 16:25:36 UTC
Sorry, doing it this time ... :-\
Comment 5 Martin Entlicher 2003-01-20 16:46:12 UTC
PVCS commands synchronization improved in the main trunk:
Checking in
vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsUnix.xml;
/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsUnix.xml,v 
<--  pvcsUnix.xml
new revision: 1.33; previous revision: 1.32
done
Checking in
vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsUnixLoc_XX.xml;
/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsUnixLoc_XX.xml,v 
<--  pvcsUnixLoc_XX.xml
new revision: 1.33; previous revision: 1.32
done
Checking in
vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsWin.xml;
/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsWin.xml,v 
<--  pvcsWin.xml
new revision: 1.40; previous revision: 1.39
done
Checking in
vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsWin98.xml;
/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsWin98.xml,v 
<--  pvcsWin98.xml
new revision: 1.37; previous revision: 1.36
done
Checking in
vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsWin98Loc_XX.xml;
/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsWin98Loc_XX.xml,v 
<--  pvcsWin98Loc_XX.xml
new revision: 1.37; previous revision: 1.36
done
Checking in
vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsWinLoc_XX.xml;
/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsWinLoc_XX.xml,v 
<--  pvcsWinLoc_XX.xml
new revision: 1.40; previous revision: 1.39
done
Comment 6 Martin Entlicher 2003-01-20 18:22:54 UTC
The commands in VSS were all synchronized, but only inside a single
folder. So I've set really strong synchronization on all commands:
there can not run any two commands in parallel (no matter of which
commands and in which folders). I hope the problem is really solved
now.

Checking in
vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssWin.xml;
/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssWin.xml,v 
<--  vssWin.xml
new revision: 1.13; previous revision: 1.12
done
Checking in
vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssWin98.xml;
/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssWin98.xml,v 
<--  vssWin98.xml
new revision: 1.13; previous revision: 1.12
done
Checking in
vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssWin98Loc_XX.xml;
/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssWin98Loc_XX.xml,v 
<--  vssWin98Loc_XX.xml
new revision: 1.13; previous revision: 1.12
done
Checking in
vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssWin98Loc_ja.xml;
/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssWin98Loc_ja.xml,v 
<--  vssWin98Loc_ja.xml
new revision: 1.12; previous revision: 1.11
done
Checking in
vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssWinLoc_XX.xml;
/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssWinLoc_XX.xml,v 
<--  vssWinLoc_XX.xml
new revision: 1.13; previous revision: 1.12
done
Checking in
vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssWinLoc_ja.xml;
/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssWinLoc_ja.xml,v 
<--  vssWinLoc_ja.xml
new revision: 1.12; previous revision: 1.11
done
Comment 7 Jiri Kovalsky 2003-07-14 16:03:21 UTC
Yes, I agree it is fixed now. Verified in NetBeans 3.5 build
#200307092351.