[rt-users] RTx::Shredder Questions
Ruslan U. Zakirov
Ruslan.Zakirov at acronis.com
Thu Oct 7 10:50:04 EDT 2004
Hello, Ernest.
It's not error, but protection from circular dependencies and bugs in my
code. I set limit on object dependencies list, by default it's 1000.
In most cases ticket or other objects shouldn't have more then 1000
related objects. It could happen if you have big mail loop(we had one
loop with 6000 transactions).
Could you wait for 0.02. I'll release it today(really). I'll add to
release more output of debug info on this problem to be shure that this
isn't bug in my code.
Best regards. Ruslan.
Ernest Byaruhanga wrote:
> hello rt-users,
>
> more to this, i also have another problem with RTx::Shredder.
>
> I m using rt3.0.10 and i have succeeded with RTx::Shredder weeks back.
> However, i now get the following messages when i try to delete some
> useless test tickets :
>
> [root at simba sbin]# ./rtx-shredder 2004-10-06
> 14 tickets would be wiped out.
> Are you shure? [y/N] y
> [Thu Oct 7 14:28:46 2004] [crit]: Message: 'Dependencies list overflow'
>
>
> Trace begun at /usr/local/rt3/local/lib/RTx/Shredder/Dependencies.pm line
> 87
> RTx::Shredder::Dependencies::_PushDependency('RTx::Shredder::Dependencies=HASH(0x8dc4164)',
> 'Shredder', 'RTx::Shredder=HASH(0x8f6b6ac)', 'Flags', 1, 'BaseObj',
> 'RT::Ticket=HASH(0x8dc5a4c)', 'TargetObj',
> 'RT::Transaction=HASH(0x8c7457c)') called at
> /usr/local/rt3/local/lib/RTx/Shredder/Dependencies.pm line 53
> RTx::Shredder::Dependencies::_PushDependencies('RTx::Shredder::Dependencies=HASH(0x8dc4164)',
> 'Shredder', 'RTx::Shredder=HASH(0x8f6b6ac)', 'Flags', 1, 'BaseObj',
> 'RT::Ticket=HASH(0x8dc5a4c)', 'TargetObjs',
> 'RT::Transactions=HASH(0x8f6af80)') called at
> /usr/local/rt3/local/lib/RTx/Shredder/Dependencies.pm line 59
> RTx::Shredder::Dependencies::_PushDependencies('RTx::Shredder::Dependencies=HASH(0x8dc4164)',
> 'BaseObj', 'RT::Ticket=HASH(0x8dc5a4c)', 'Flags', 1, 'TargetObjs',
> 'ARRAY(0x8dc56e0)', 'Shredder', 'RTx::Shredder=HASH(0x8f6b6ac)') called at
> /usr/local/rt3/local/lib/RTx/Shredder/Ticket.pm line 55
> RT::Ticket::__DependsOn('RT::Ticket=HASH(0x8dc5a4c)', 'Shredder',
> 'RTx::Shredder=HASH(0x8f6b6ac)', 'Flags', 1, 'Dependencies',
> 'RTx::Shredder::Dependencies=HASH(0x8dc4164)') called at
> /usr/local/rt3/local/lib/RTx/Shredder/Record.pm line 39
> RT::Record::Dependencies('RT::Ticket=HASH(0x8dc5a4c)', 'Shredder',
> 'RTx::Shredder=HASH(0x8f6b6ac)') called at
> /usr/local/rt3/local/lib/RTx/Shredder/Record.pm line 144
> RT::Record::_Wipeout('RT::Ticket=HASH(0x8dc5a4c)', 'Shredder',
> 'RTx::Shredder=HASH(0x8f6b6ac)') called at
> /usr/local/rt3/local/lib/RTx/Shredder/Record.pm line 134
> RT::Record::Wipeout('RT::Ticket=HASH(0x8dc5a4c)') called at ./rtx-shredder
> line 57
> (/usr/local/rt3/lib/RT.pm:254)
>
>
> what might be the problem? any sugestions will be appreciated.
>
> regards,
>
> ernest.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iQDVAwUBQWVTYaH3gYhvcd1eAQK93QX5ASBPbybQI+5gQw6iSsKlqSoZnOFO/ou+
> pg4kZ8G4Hw+OzOte/c7vAQ7kzr/sJMwk4w9zBkp4utxAjJmiIBb/QG2dVfUpxPBN
> Lh7TuUZmDsDZP++WxdVjRFU3V6oXuYBUEayk2yZi+ZpqsMw2K6FjDSfhteREtVcb
> GbASuZQCLYEl8GQCdbXchGGjImJakJd6apNYe9puk6lbdUh7jCpvKN1a8rfQpY5I
> nbqiPG2rxNV22EgR2LNhAeU3UAJpW4N0
> =KHGs
> -----END PGP SIGNATURE-----
More information about the rt-users
mailing list