Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Any way to re-composite group without it becoming empty?

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Any way to re-composite group without it becoming empty?


Chronological Thread 
  • From: Shilen Patel <>
  • To: Michael R Gettes <>, Gouper Users List <>
  • Subject: Re: [grouper-users] Any way to re-composite group without it becoming empty?
  • Date: Tue, 5 Apr 2016 17:38:34 +0000
  • Accept-language: en-US
  • Authentication-results: psu.edu; dkim=none (message not signed) header.d=none;psu.edu; dmarc=none action=none header.from=duke.edu;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23

Yeah what I said wasn't intended as a long term solution, but as a means to deal with this today.  Definitely not ideal.

>> No, and is there an easy way to know what the new number should be?

Assuming you don't actually turn off the daemon (you're just turning off the one consumer), you should continue to see inserts into the grouper_change_log_entry table.  So after the temp change log is cleared by the daemon, get the max sequence_number from the grouper_change_log_entry table before running the bulk sync.  Once the bulk sync is done, update the consumer value and start the consumer again.

- Shilen


From: Michael R Gettes <>
Date: Tuesday, April 5, 2016 at 1:17 PM
To: Gouper Users List <>
Subject: Re: [grouper-users] Any way to re-composite group without it becoming empty?

This seems quite error prone to me.  Maybe something to consider for the future is a special grouper tag that says “don’t process changes to the changelog for this group", the one with the tag.  Then you can mess with one more groups until you have what you want and then remove the tag.  By tag - i mean a special group attribute only t be recognized by Grouper.  I’d be happy to submit this as a Jira item if the devs believe this is a reasonable thing to do.

/mrg

On Apr 5, 2016, at 1:08 PM, Shilen Patel <> wrote:


>> Is there a way to turn off the provisioner make the changes do a bulk sync and then have the changelog go from there? So far in our dev environment it's not working that way.

Did you update the last_sequence_processed for your consumer in the grouper_change_log_consumer table before turning it back on?  That would allow you to skip changes, which in theory should be taken care of by the bulk sync.

Thanks!

- Shilen

From: Jeffrey Crawford <>
Date: Tuesday, April 5, 2016 at 12:37 PM
To: Gouper Users List <>
Subject: [grouper-users] Any way to re-composite group without it becoming empty?

We have a service that want's to have grouper change it's logic. The problem is that one of the "group math" components is a composite group. So far I haven't figured out a way to redefine the composite group without it basically making the group empty first. This would essentially break the service until the composite came back online.

Is there a way to turn off the provisioner make the changes do a bulk sync and then have the changelog go from there? So far in our dev environment it's not working that way.

Jeffrey

Both pilots and IT professionals require training and currency before charging into clouds!
---------------------------------------




Archive powered by MHonArc 2.6.16.

Top of Page