Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

IFileSystemOperation.run() Synchronized?

Is the run() method on IFileSystemOperation synchronized? In other words, for a given repository workspace, can only one client call it at a time?

We are working with a build system that will have one or more build hosts (i.e. separate machines). At near the same time, two hosts might be asked to retrieve the source code for different baselines (which ultimately occurs via a call to IFileSystemOperation.run()).

Let's assume that two hosts have a local sandbox with the same repository workspace loaded. If host A asks to replace with baseline A while at the same time machine B asks to replace with baseline B, will the two operations be guaranteed to occur one after the other? Or, is there danger that they could happen simultaneously and each hosts' sandbox will be inconsistent?

Originally, we were thinking that each agent would have its own repository workspace. That will work fine, but will mean lots of repository workspaces. It would be convenient to use the same repository workspace for all of the build hosts. But, if that is a risky endeavor, then we will just use a repository workspace per build host.

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,954

Question asked: Jun 18 '15, 9:27 a.m.

Question was seen: 2,046 times

Last updated: Jun 18 '15, 9:27 a.m.

Confirmation Cancel Confirm