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

Can we mandate the locking feature while loading any file in RTC SCM

Hello All,

We have customer requirement, as while loading any particular file lock will be mandatory, is it possible can we show the popup for lock  while loading the any file individually? or any alternate way for this?

Please suggest.



0 votes


Accepted answer

Permanent link

In RTC, you can require pessimistic locking at the stream level.   In particular, if you specify that pessimistic locking is to be used on a particular stream, then pessimistic locking is enforced on every repository workspace that has that stream as a flow target.   When pessimistic locking is specified for a repository workspace, when the file is loaded into the sandbox, it is loaded read-only, and is made writeable when the user successfully "locks" that file for update.  So there is no "pop-up for lock" when the file is loaded, but rather when an attempt is made modify the file.   Also note that the editor needs to understand the "locking" protocol ... all Eclipse editors understand it (and I believe, all Visual Studio editors).   If you have an editor that does not understand the locking protocol, you will just get a "file is read-only" error, and then you can use the command line or some other mechanism that does understand the locking protocol to lock the file (which makes it writeable).

CLM _User selected this answer as the correct answer

1 vote

Comments

Thank You, Geoffery Clemm for the explanation in depth, I understood the concept.


One other answer

Permanent link

 For all I know RTC is not built foe pessimistic locking - the schema you describe - The configuration is based on some extensions. So my answer would be no.

0 votes

Your answer

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,938

Question asked: Aug 07 '20, 2:07 a.m.

Question was seen: 1,481 times

Last updated: Aug 10 '20, 7:47 a.m.

Confirmation Cancel Confirm