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

Howard Jones howie at thingy.com
Tue Mar 9 10:32:15 EST 2010


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