Hi Mike,

 

We tried this out by testing with 2 users logging into Guvnor and changing rules.

 

When the 2 users opened the same rule one after the other, the second user did not get any warning . the first user was able to save his changes successfully, but the second user got an error indicting that the asset is out of Date and lost his changes .

 

We did confirm that users get similar error when they work on different rows of the same decision table .That is apparently because the lock is at the asset level and not at row level as has been stated in your email.

 

No warning seen even for decision Table when second user tried to open the same Table.

 

Thank You,

 

Ram  

From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Michael Anstis
Sent: Tuesday, July 19, 2011 1:35 AM
To: Rules Users List
Subject: Re: [rules-users] concurrent modification of a rule by more than one user in Guvnor

 

Hi,

We implement an optimistic lock at the asset level.

Multiple users can open the same asset (subsequent users should receive a warning) however if one attempts to save after another they should receive an error that their view was out of date.

We do not implement row-level locking on decision tables.

With kind regards,

Mike

On 19 July 2011 03:11, puja nandamuri <med_9501@yahoo.com> wrote:

Hi All,

I am currently testing 5.2.0.CR1 version of Guvnor.


Can multiple users modify a rule in Guvnor at the same time? what are the issues involved in say, two users trying to change

1. the same row in a decision Table at the same time and saving it.

2. different rows in a decision table at the same time and saving it.

Are there any documentation or articles to get more information on concurrent access within Guvnor?

Thank You,

ram.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users