grouper-users - Re: [grouper-users] Bad Memberships in Composite group
Subject: Grouper Users - Open Discussion List
List archive
- From: Shilen Patel <>
- To: Blair Christensen <>, Kumi Hagimoto <>
- Cc: "" <>
- Subject: Re: [grouper-users] Bad Memberships in Composite group
- Date: Wed, 14 Sep 2016 13:56:23 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:PebyEx1KoZdZ6YmUsmDT+DRfVm0co7zxezQtwd8ZsegSLvad9pjvdHbS+e9qxAeQG96Eu7QZ0KGP7ujJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6lX71zMZGw3+OAxpPay1X9eK14Xkn9y1rrfXagRSzBG9e7JpMBiwtgjX/p0chYJjMI4swRvIqXJHfKJbyX4+YRqwghP9rue5859m9DhX86Yi6stBF6XzcKU9SqBfJDM8Pm8y4tb3vAXOCwaD+y1PfH8Rl09zAwnB4ReyZp7tvy+y4vF92S2XO+X6ULM5Hzmu8vE4G1fTlC4bOmthoynsgctqgfce+Ur5qg==
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
So the problem is that there are two transactions running concurrently. The first transaction deletes the user from userGrp1. That transaction sees that the user is no longer in the base group so the composite is deleted. The second transaction, running
at basically the same time, adds the user to userGrp2. That transaction sees that the user is already in the base group because it doesn't see the changes that the first transaction is making. So the end result is that the user isn't in the composite anymore
when it should be.
When we had this issue at Duke (I was getting multiple issues every day), what I did was just add locking at the caller to prevent concurrent updates. Not good for performance, but it had solved the issue for the time being. If you're using the grouper
loader, than having multiple threads can also do this.
More recently, in a 2.3 patch, there's now an option to schedule finding and fixing these issues automatically.
Thanks!
- Shilen
From: Blair Christensen <>
Date: Wednesday, September 14, 2016 at 9:44 AM To: Kumi Hagimoto <> Cc: "" <> Subject: Re: [grouper-users] Bad Memberships in Composite group
|
- [grouper-users] Bad Memberships in Composite group, Kumi Hagimoto, 09/13/2016
- Re: [grouper-users] Bad Memberships in Composite group, Blair Christensen, 09/14/2016
- Re: [grouper-users] Bad Memberships in Composite group, Shilen Patel, 09/14/2016
- Re: [grouper-users] Bad Memberships in Composite group, Peter DiCamillo, 09/14/2016
- Re: [grouper-users] Bad Memberships in Composite group, Shilen Patel, 09/14/2016
- Re: [grouper-users] Bad Memberships in Composite group, Peter DiCamillo, 09/14/2016
- Re: [grouper-users] Bad Memberships in Composite group, Shilen Patel, 09/14/2016
- Re: [grouper-users] Bad Memberships in Composite group, Blair Christensen, 09/14/2016
Archive powered by MHonArc 2.6.19.