grouper-users - RE: [grouper-users] Composite group problems
Subject: Grouper Users - Open Discussion List
List archive
- From: Dave Churchley <>
- To: Shilen Patel <>
- Cc: "" <>
- Subject: RE: [grouper-users] Composite group problems
- Date: Fri, 20 Oct 2017 14:12:32 +0000
- Accept-language: en-GB, en-US
- Authentication-results: mailhub-mx2.ncl.ac.uk; spf=pass smtp.mailfrom=newcastle.ac.uk
- Ironport-phdr: 9a23:5O2lpxUJ/KdmYr160AnIQox8bynV8LGtZVwlr6E/grcLSJyIuqrYZRSAuadThVPEFb/W9+hDw7KP9fuxCSpYud6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCzbL52Lxi6txndutULioZ+N6g9zQfErGFVcOpM32NoIlyTnxf45siu+ZNo7jpdtfE8+cNeSKv2Z6s3Q6BWAzQgKGA1+dbktQLfQguV53sTSXsZnxxVCAXY9h76X5Pxsizntuph3SSRIMP7QawoVTmk8qxmUwHjhjsZODEl8WHXks1wg7xdoBK9vBx03orYbJiIOPZiYq/ReNUXSm1ZUMZWVCJPDJ63Y48SA+YdOOpVqZT2qVkTohukHQSiBP3hxCJUhnH436I60vguHg7I3AE7Bd0CrGjYoc/pOKsOT+y4yrTDwzXZb/NR3Dfw8IbGfQo/of6SQLl9b8rRyVQ1FwzZjlWQrZLqPjOI3ekKvWaU9fRgWvy1h2M5qwFxvyKvydssionNmI0UykvJ9SNnz4c7OdK3UlV7YcKgEJROrS2VLZd5Ttk/Q2FroSs3zKANt5C8fCgP0psnxhjfZuSGc4iO/hLsSvyRITFmi3J5Zr6znQi9/lW9yuHkTsm0ylFKri1LktnUsXAN1hrT6tSdRvRh+Ueh3C6D2BvJ5e5ZOEw4i7HUK5s/zb41jZUcr17DHjT2mEX3lK+ab1so9fOm6+TmZLXpu4GTN5Vthg3gKasuh9C/AeU8MggPQ2ia+eKx36Dg803hWLhGk+M6n6rDvJzEKskXurS1DxFb34ss8RqyDCmq3MwFkXUZL19JYgyLgof1N13UPvz0E/eyj06unTpq3/zGMKPuD5bRInXGlbrscqty5FBZxQczw91T+o9bB7QfL/3uRkP9qtnVAxslPAOq3urqDsh22JkEVmKVGKCZNbvfsV+W6eIrJOmBfIoVtyz8K/gh5/7ukGQ2lUYYfaimw5cbcna4EehiI0mDe3Xjns0NEXoJvgYmTezqjkONUSJLanqvQa4x5Ss3BJypAIvfXIyhnrKM0SihEpBVeGxKElWMHm3pd4WAVfcMciWSIsp5nzIKT7ehVZEu2QuwuQ/61rpnNPbb+i0ctZ391Nl4/OvTmg889DNoFcudyH2NT2VqkW8SXTA5wLpzoVF+yluby6h3n+RYFcBP5/NOSgo6OoTcz+tnC9DqRA3BZM6FSEu9Qtq4GzExVck8w9sPY0ZmB9WilQ7P0zCrA78Ti7yEGoY08qTC0HjtOcpx0WjJ27Q8jwpufswaDm2ngqN5vzDaG4PN2xGCl6eueKI00DPO+SGOwXfY729CVwslfazbUDg0ZlbMptT961KKG5OnF7lhGQtc08WCLqZbQtvkkl5PX+vnNZLXaCSsmDHjVl6z2rqQYd+yKC0m1yLHBR1Bwlge
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Yes, that makes sense. I’ve now scheduled the
Bad Membership Finder Utility to run each morning, just after the Grouper loader groups are populated. One more question, if you don’t mind, do you know why it took four goes to fix all the bad memberships this morning? Each time I ran it, it fixed the majority
that it had found, but not all of them. Thanks From: [mailto:]
On Behalf Of Shilen Patel 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:
[]
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.