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 15:40:11 +0000
- Accept-language: en-US
- Authentication-results: oit.duke.edu; spf=none
- Ironport-phdr: 9a23:a9Cw8h+goSjsBP9uRHKM819IXTAuvvDOBiVQ1KB21eMcTK2v8tzYMVDF4r011RmSDNWds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2e2//57ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMNboRr4oRzut86ZrSAfpiCgZMT457HrXgdF0gK5CvR6tuwBzz4vSbYqINvRxY7ndcMsaS2RfQ8hRSyJPDICyb4QNDuoOIelXopLnqFcSsRezHxWgCP/vxzJOm3T43bc60+MkEQzewQIgH9MOsHDKo9XzKawcS/q6zLXWwjXHcvhb3iz96IjJchAlv/6MW6l9ftfMyUksCQzJlEufppH4Pz6M0OkGrmaV7+1lVe21im4nrRl8ojmpxscwlIbJnIQVxU7Y9Sln2oo6O8C3SFNjbd68CptQsCaaN4VuQsMlQmFovjo6xqcatp68eSgG0I8oyATCZPCebYSH+RfjW/iUIThjmn1lYqm/hxaz8Ui40+HwSNK70FhLripDj9bDqGoN2wXN5secV/t94kah2TKO1wDP6uBJJ10/m6nDK5M537I9loQfvV7NEyPshUn7j6ubel869uWm6OnreqjqqoGGO4NphAzyLr4iltGiDek5KAQCQmaW9fmk2LH94EH0Qa9Gg/MonqXDrZzXJtgXqrSkDwJR1Iso9gyxAC280NsCmHkKNFJFdwyDj4juI1zOJer3Dfa7g1i1nzdqyenKMqD/DpnXKXjDkavhcaxg5E5Bywo808pT6IxJBbEcOP7zW0nxu8LEDhIhLgC5w/jrBM9z248ERG6CAauUPLnMvVKG5e8jO+yMa5UUuDb5Jfgl/fnujXohlF8Gfamp3J8XZ26+Hvl9PkqZfHnsjckbHWgUowU+UfTmiEeeXj5Le3ayQ6U86yk0CIK8CofDW5itj6Kb3CuiA51WfX5JCkqXEXrzc4WEWuwMaD6JIsN/iDAEVL6hS5M/2hG0sg/11aZnIvTO9iIGqJ3jyYs92+qGuRgs+HRfD9mH2GGJQnA8yk8BWTJw96Biu0d9zlqS+a51nPdRDsBX6rVAWUEnNsiP4fZ9DoXJWgPFc9HBcF+6T9HuVSoxT9Y8xfcCfkVwXdiuk0aQjGKRH7YJmunTV9QP+aXG0i20fp4lxg==
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
That could have happened if you have composites that are factors of other composites. There may be other reasons too though. FWIW, the daemon in 2.3 is designed to take that into account and runs multiple times until all the issues are corrected.
- Shilen
Sent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------
From: Dave Churchley <>
Date: 10/20/17 10:12 AM (GMT-05:00)
To: Shilen Patel <>
Cc:
Subject: RE: [grouper-users] Composite group problems
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.