[rt-users] rt-shredder Users plugin deletes tickets?

Gary Hall hall at fas.sfu.ca
Thu Mar 11 13:42:13 EST 2010


Hi Howie,

I ran into the same problem.

In my case, the deleted Tickets contained Correspondence from Users who 
were otherwise not Watchers (i.e., Requestors, Owners, AdminCCs or CCs) 
in the system.

The Tickets were deleted by the jobs that removed the Users.

Seems like a bug to me.

Gary
--
Gary Hall
RT Admin
Simon Fraser University


On 01/-10/-28163 11:59 AM, Howard Jones wrote:
> I've just upgraded to RT 3.8.7 from 3.6.5, and I'm catching up on my 
> shredding.
>
> Over the weekend I shredded 20000 or so deleted tickets (spam mainly), 
> and today I went to start on the users. This has never really worked 
> well before, so we have about 60k users, and at most 1000 of them are 
> active.
>
> So I created a user called placeholder, made them privileged and made 
> sure they are the requestor on a long-running ticket. Then...
>
> ./rt-shredder --plugin 
> 'Users=status,enabled;replace_relations,placeholder;no_tickets,true;member_of,unprivileged;limit,100' 
>
>
> {snipped output}
> [Tue Mar  9 15:20:39 2010] [info]: RT::Transaction-2992615 wiped out 
> (/opt/rt3/sbin/../lib/RT/Shredder/Record.pm:236)
> --> [Tue Mar  9 15:20:39 2010] [info]: RT::Ticket-348651 wiped out 
> (/opt/rt3/sbin/../lib/RT/Shredder/Record.pm:236)
> [Tue Mar  9 15:20:41 2010] [info]: RT::CachedGroupMember-4193272 wiped 
> out (/opt/rt3/sbin/../lib/RT/Shredder/Record.pm:236)
> [Tue Mar  9 15:20:41 2010] [info]: RT::GroupMember-1394521 wiped out 
> (/opt/rt3/sbin/../lib/RT/Shredder/Record.pm:236)
> [Tue Mar  9 15:20:41 2010] [info]: RT::CachedGroupMember-4193271 wiped 
> out (/opt/rt3/sbin/../lib/RT/Shredder/Record.pm:236)
> [Tue Mar  9 15:20:41 2010] [info]: RT::Transaction-3007389 wiped out 
> (/opt/rt3/sbin/../lib/RT/Shredder/Record.pm:236)
> [Tue Mar  9 15:20:41 2010] [info]: RT::Group-1857870 wiped out 
> (/opt/rt3/sbin/../lib/RT/Shredder/Record.pm:236)
>
> Why does the Users plugin delete tickets? Surely it should only be 
> deleting users that have no tickets (no_tickets, true)?
>
> Thanks for any illumination...
>
> Howie
>




More information about the rt-users mailing list