Using same build id for multiple build servers

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

Moderator: SourceGear

Post Reply
tjruska
Posts: 59
Joined: Tue May 13, 2008 7:35 am
Location: Milwaukee, WI
Contact:

Using same build id for multiple build servers

Post by tjruska » Wed Jan 07, 2009 3:30 pm

We have 6 build servers, each running CCNet 1.4.1, and many builds use the same build id for multiple projects and\or repositories. I am questioning this use. Will\can there be contention using the same id when multiple builds are trying to fire at the same time? What would you recommend as best practice. Each repository have it's own unique build id? Or is this a mute point in the way Vault handles connections behind the scenes?

Tom

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Re: Using same build id for multiple build servers

Post by jeremy_sg » Thu Jan 08, 2009 8:32 am

Do you mean the same build number, or the same build user login name? I'm going to assume the same build user login name, and answer that question, since it's easier. :) Yes, you can use the same build user login from multiple computers at the same time. The server separates user requests based on session id, so there will be no contention in the server.
Subscribe to the Fortress/Vault blog

tjruska
Posts: 59
Joined: Tue May 13, 2008 7:35 am
Location: Milwaukee, WI
Contact:

Re: Using same build id for multiple build servers

Post by tjruska » Thu Jan 08, 2009 9:56 am

You guessed correctly! Same build user login id. But when you say server, is that the web server hosting the vault web service or SQL Server? I buy the no contention on the web server but what about SQL Server? Is there a possibility of any locking or is it a "dirty" read?

Tom

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Re: Using same build id for multiple build servers

Post by jeremy_sg » Thu Jan 08, 2009 10:28 am

There is the possibility of locking, but for the most part, the operations that CC.Net does (refresh, get, label) are read only.
Subscribe to the Fortress/Vault blog

Post Reply