We're using ProcessCommandListChangeSet to search changed items under a given working folder. One customer reports there are has 2503 files and 760 directories under their folder, and it's taking over 4 minutes to return the list of change set items. Is there a faster way to determine the list of modified files? Surely the Vault client itself wouldn't take this long - is some of this information cached? What about calling ProcessCommandListCheckOuts instead, and then iterating through the results for the current user?
Thanks,
Eric
Using ProcessCommandListChangeSet too slow
Moderator: SourceGear
Re: Using ProcessCommandListChangeSet too slow
The difference has to do with the Check out style of the logged in user. My guess is that they have disabled the Require Check Out before Check In flag for that user (putting the user in CVS mode, as opposed to VSS mode). When check outs are not required, we occasionally have to do a full folder-scan to find Edited files. If they use VSS mode, only the checked out files are scanned. If they are in VSS mode, you could switch to listcheckouts.
Subscribe to the Fortress/Vault blog
Re: Using ProcessCommandListChangeSet too slow
I am running with the VSS style. I verified that my client (GUI) is set to Require Check Out before Check In. The clc will use these settings correct?
Re: Using ProcessCommandListChangeSet too slow
Is the smartbear process logging in as your user? Is there a way to turn on Vault debug logging in SmartBear's app? I can provide code to turn on debug logging if that will help you.
Subscribe to the Fortress/Vault blog
Re: Using ProcessCommandListChangeSet too slow
Jeremy,
We do log in based on parameters given us by the user. I can get Rolland an updated version of our client, with debugging enabled if that will help - let me know how to do that.
Eric
We do log in based on parameters given us by the user. I can get Rolland an updated version of our client, with debugging enabled if that will help - let me know how to do that.
Eric
Re: Using ProcessCommandListChangeSet too slow
Eric,
You guys use the java client libs, right? Here's how it should work for you.
Do that right before you call ServerOperations.Login(). SimpleLogger is in VaultLib.
You guys use the java client libs, right? Here's how it should work for you.
Code: Select all
SimpleLogger.get_Log().EnableClass("all");
SimpleLogger.get_Log().set_Enabled(true);
SimpleLogger.get_Log().set_LogFilePath(pathtologfile);
Subscribe to the Fortress/Vault blog