grouper-users - Re: [grouper-users] Composite group problems
Subject: Grouper Users - Open Discussion List
List archive
- From: Shilen Patel <>
- To: Dave Churchley <>
- Cc: "" <>
- Subject: Re: [grouper-users] Composite group problems
- Date: Fri, 20 Oct 2017 10:46:08 +0000
- Accept-language: en-US
- Authentication-results: oit.duke.edu; spf=none
- Ironport-phdr: 9a23:XqoIBRzEKKeQp3/XCy+O+j09IxM/srCxBDY+r6Qd2uwfIJqq85mqBkHD//Il1AaPBtSLraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze6/9pnQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiScIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CRWRPQNtfVzBPDI2/YYsADesBMvpXoITmvVQCsQeyCBOwCO/zyjJFgGL9060g0+QmFAHLxBEuH9IPsHTQstr1MroZX/qvw6nU0zrDa+5d1DDm6IjIcxAhpe+DXbRrfMXM1EkvFB3Kgk+OpoP4IjOYz+IAuHWV4epnUOKgkW8nqwdprziuwMcslpfGhpgTyl/a6SV13pw5KsOlR05medKkCIFQtyadN4t4WsMiRGBouCAmyrEcpZG7ey0KxIw8yBHFdvOLapaE7QnmVOmPJDd3n2xqeKikhxay8Eig0vTwWtev31ZErypFlMTDuW4X1xDK9MSIUeZ9/lug2TaL1gDT9uFFLEYpnqTYM54s2qM8m5oNvUjZECL6glj6gaySe0k+5OSl5Pnrbq37qpOCLYN4lw/zPrg0lsCiHOg1MBICU3WG9emzzLHv41H1TbdQgvA5k6TVqo3WKMUVq6KjAwJZz4Au4AulATi8ytQXh3wHIUpFeB2Zi4jpPEnDIPXiAve+h1SgiThrxv7fMrH8ApjBNH/DkLb9fbpn9kFc1Qkzws5F651KF74BPer/Wk73tNPGEh80KxG4zub5BNln2I4SQ3+DD6ydPa/Ir1OF6f8jL/GJZIAPuTb9L/Yl5+TpjX88gVIdZqmp3ZoTaH+mGPRrOFiWYWfvgtgfC2sFoBcxTPHyhF2YTTFTf2qyX7475jwjB4KmF4DDRp21gLOfxie3B4BWZntYBVCWCnflbIGEW/YXaCKOOc9tjCYIVbmnS489yx6urgn6xKR7LubK4CEXq4/s1MUmr9HUwD076zE8JMSAyWqNS2xl1jckTiE7mot/vFZ2ylOOwIB+juNTHMdP4/4PWwx8KJ2KnMJgDNWnYQLAetqPAG6vXtiiSWUqTtM1ztkmb1t+FpOvgg2VjHniOKMci7HeXM98yanbxXWkYp8lk3s=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
OK cool. The scenario you described is a similar situation where you probably have two threads running at the same time that deleted and added the user from/to the groups under Group B. The thread that deleted the user from the group under B would have
thought the user wasn't an effective member of B anymore and would have deleted the user from A. Meanwhile the thread that added the user to the group under B would have seen that the user is already in A (since the other transaction may not have committed
yet) and therefore wouldn't have done anything else. Does that at least explain the issue? We created the bad membership daemon in 2.3 because of this issue but we may need to handle it better.
Thanks!
- Shilen
Sent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------
From: Dave Churchley <>
Date: 10/20/17 1:28 AM (GMT-08:00)
To: Shilen Patel <>
Cc:
Subject: RE: [grouper-users] Composite group problems
Thanks again Shilen
The Bad Membership Finder Utility cleaned up 118 bad memberships this morning. (I had to run it four times though until it found no membership errors.) I’m sure this utility will be useful to us!
I don’t know if you’re able to explain why the composite group memberships go wrong as in the example below?
Thanks
From: [mailto:]
On Behalf Of Dave Churchley
Thanks Shilen, I'll take a look at that in the morning.
For at least one of the problem groups, however, this is definitely not the issue. Group A is made up of Group B complement Group C. Person X was in B and not C and so he rightly appeared in A. Two days ago he dropped out of A but he remained in B and not in C. Those groups' memberships hadn't changed. We did notice that Group B was built from several Grouper loader groups and Person X had moved from one of them into another, but this meant that he was still a member of B.
I hope I've managed to explain that!
Thanks Dave
From: Shilen Patel <>
If both factors in the composite are being updated at about the same time for the same subject, then a membership may be missed. For example, if Group A is an intersection of
Group B and Group C and you add the same person to B and C at almost the same time, then due to the way the database transactions work, the composite membership may not be added to Group A. Does that seem like the problem you’re having? |
- [grouper-users] Composite group problems, Dave Churchley, 10/19/2017
- <Possible follow-up(s)>
- Re: [grouper-users] Composite group problems, Shilen Patel, 10/19/2017
- Message not available
- Message not available
- Re: [grouper-users] Composite group problems, Dave Churchley, 10/19/2017
- Message not available
- Message not available
- RE: [grouper-users] Composite group problems, Dave Churchley, 10/20/2017
- Re: [grouper-users] Composite group problems, Shilen Patel, 10/20/2017
- Message not available
- Message not available
- RE: [grouper-users] Composite group problems, Dave Churchley, 10/20/2017
- Re: [grouper-users] Composite group problems, Shilen Patel, 10/20/2017
- Re: [grouper-users] Composite group problems, Waldbieser, Carl, 10/23/2017
- Message not available
- Message not available
- Re: [grouper-users] Composite group problems, Dave Churchley, 10/19/2017
- Message not available
- Message not available
Archive powered by MHonArc 2.6.19.