grouper-users - Re: [grouper-users] PIT table issue prevents changelog temp to changelog
Subject: Grouper Users - Open Discussion List
List archive
- From: Scott Koranda <>
- To: Shilen Patel <>
- Cc: grouper-users <>
- Subject: Re: [grouper-users] PIT table issue prevents changelog temp to changelog
- Date: Fri, 18 Jan 2019 14:51:39 -0600
- Ironport-phdr: 9a23:ZtnXiRzd5Rb/urDXCy+O+j09IxM/srCxBDY+r6Qd2+kQIJqq85mqBkHD//Il1AaPAd2Lraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiScIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CS2RPXthfWTFCDIOyYIQAE/cOMuRWoITmu1sCsQGzCRWwCO711DNFgGL9060g0+QmFAHLxBEuEM4JsHTIsNX+KaIcUeevzKbSyzXMculZ0ir65YjTcRAhpuuMUqh2ccXM00YiDAzFjlCKpozkOzOZzPgCs2+e7+d5U++klm0pqxlprzSxx8oglovEi4cbyl3H7ip13IM4KNK7RUN6btOpFYVcuz2fOoZzX88vTW5ltD4nxrEatpO3ZjYGxZo6yxLFdfCKc4iF7gj+WOuePTt1gm9udqiliBao60egz/XxVsmq31ZOqSpIitzMuWoM1xzX88SHS+d98lq41TeAygze5O5JLVo7larcLJ4hzbowmYQJvUvfGS/2nV36jK6Qdko65uil8/rrb7T6qpKeMoJ0hALzPb8ylsG6Duk1MQkDUmee9OiiyLHu+Ej0TKhEg/A5iqXZtYrVJcUfpq63GQ9V1YMj5g6kDzel19QYh2MILFRYdx2dlIXpNFTOL+r5Dfe7mVijjDBrx/XeMr37HprNNmTDkKvmfbtl5E5c0g0zzc1H551KELENOe/zWlTvu9zCFR80KAi0w+f8CNVhzYMSR3iDAq6fMKPOr1CI/OQvLPeQZIMLojryNeUq5+O9xUM+zGQdfK2k29MvYWy1GrwyOEWYZXfqqtscEmpMswYjGr/EklqHBAVYYGquF4E7/Dg9BIvuWZzAQZqkhrCI9Ci+F5xSIGtBDwbfQj/Ta4yYVqJUO2qpKch7n2lBDOD5Rg==
Hi,
> I wonder if you have more duplicates.
Running
new
edu.internet2.middleware.grouper.misc.SyncPITTables().processAllDuplicates()
showed
Hib3PITGroupSetDAO: Searching for point in time duplicates
Found 29 entries that have duplicates in point in time.
I then wrote some SQL to query for the rows with the correct
sourceId(s), find the id(s), and delete the rows for the
grouper_pit_group_set table. The deletions worked where the row did not
have a foreign key and failed when there was a foreign key. Each
sourceId had 2 and not more than 2 entries.
After that I ran
new
edu.internet2.middleware.grouper.misc.SyncPITTables().processAllDuplicates()
again and this time it processed updated without any errors.
I was then able to run
loaderRunOneJob("CHANGE_LOG_changeLogTempToChangeLog");
Can you provide any insights into how the duplicates came to be in the
PIT tables?
This Grouper deployment is not especially unique or large. It is
manipulated through Grouper WS calls and occasionally through the UI.
The WS calls simply add or remove subjects from groups and occasionally
create groups. There are no loader jobs other than running the PSPNG.
Thanks,
Scott K
- [grouper-users] PIT table issue prevents changelog temp to changelog, Scott Koranda, 01/18/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Shilen Patel, 01/18/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Scott Koranda, 01/18/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Shilen Patel, 01/18/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Scott Koranda, 01/18/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Shilen Patel, 01/18/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Scott Koranda, 01/18/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Shilen Patel, 01/18/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Scott Koranda, 01/21/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Shilen Patel, 01/22/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Scott Koranda, 01/18/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Shilen Patel, 01/18/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Scott Koranda, 01/18/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Shilen Patel, 01/18/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Scott Koranda, 01/18/2019
- Re: [grouper-users] PIT table issue prevents changelog temp to changelog, Shilen Patel, 01/18/2019
Archive powered by MHonArc 2.6.19.