Retrieving Pinned Files is not working

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
dave.lewis2@hp.com
Posts: 2
Joined: Thu Apr 06, 2006 9:03 am

Retrieving Pinned Files is not working

Post by dave.lewis2@hp.com » Thu Apr 06, 2006 10:47 am

We are experiencing retrieving PINNED files from VSS via SOS. We are managing multiple versions of source code in VSS and the files are currently shared between the 2 versions; we are pinning the r1 version at an earlier version than r2. Also files that are pinned via the VSS client are not showing as pinned when viewed from the SOS client.

Example:

1) Pin a prior version of file using SOS.
the pin is displayed on SOS UI

2) Select file and 'Get Latest Version'.
the pinned file is correctly retrieved

3) Select 'Refresh File List'
the displayed Pin symbol dissapears from the UI

5) select file and 'Get Latest Version'
the most recent file is retrieved (i.e. the pin is gone !)


Our environment is as follows:

1) SOS Client
SOS Classic 4.1.2 (no cryptography) running on MS XP Pro SP2.

2) SOS Server
v4.1.2 running on MS Win2000 5.00.2195 SP4
VSS Automation Component (ssapi.dll) = v6.0.89.87
VSS Version = 6.0d (Build 9848)

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Apr 06, 2006 2:47 pm

SOS Server
v4.1.2 running on MS Win2000 5.00.2195 SP4
VSS Automation Component (ssapi.dll) = v6.0.89.87
VSS Version = 6.0d (Build 9848)
Is the VSS 6.0d client installed on the SOS Server machine?

The ssapi.dll version you listed above is the very first version of 6.0, and does not work very well with SOS.

I'd suggest installing a 6.0d client on the SOS Server machine. The ssapi.dll version should be 6.0.9848. After installing, manually register the new automation component:

http://support.sourcegear.com/viewtopic.php?t=255

Pin operations should be better with this version.

Note: there is a known issue with this version, which can be fixed by a registry edit:

http://support.sourcegear.com/viewtopic.php?t=10
Linda Bauer
SourceGear
Technical Support Manager

dave.lewis2@hp.com
Posts: 2
Joined: Thu Apr 06, 2006 9:03 am

Post by dave.lewis2@hp.com » Wed May 03, 2006 5:57 am

We upgraded the ssapi.dll to v6.0.9848 on the SOS Server and the pinning is now working correctly. (the VSS 6.0d client is installed on the SOS Server machine)

However, since the upgrade we have no noticed a marked degrade in the performance of SOS i.e. The SOS client is very SLOW (comparable with using a VSS client over the WAN)

Using a VSS client (installed on the SOS server machine ) to pull the latest version of 640 files in 200 folders (about 7MB in total) takes < 1min

However, using SOS to retrieve the same files to a remote computer (via the WAN) now takes 55 mins. Before the upgrade the SOS retrieve speed was < 1min.

Can you please advise ?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Wed May 03, 2006 3:34 pm

It's possible this ssapi.dll isn't as efficient as the one for 6.0c.
Using a VSS client (installed on the SOS server machine ) to pull the latest version of 640 files in 200 folders (about 7MB in total) takes < 1min

However, using SOS to retrieve the same files to a remote computer (via the WAN) now takes 55 mins. Before the upgrade the SOS retrieve speed was < 1min.
This may not be an apples-to-apples comparison. VSS on the LAN is usually very fast. However, SOS over the Internet is much faster than VSS over the Internet. Unlike VSS, when SOS does a "Get Latest," it does not retrieve files if the files in the working folder are the same version as the files in the VSS Database. Was the <1 min get to an empty working directory?

Still 55 minutes to get 7MB of files is excessive.

Did you make the registry edit in this KB article?

http://support.sourcegear.com/viewtopic.php?t=10
Changing the threading model per this KB article may help.

Also, could changes have been made to you network or the SOS Server machine that could be affecting performance? For instance, did you install anti-virus software?
Linda Bauer
SourceGear
Technical Support Manager

Post Reply