Comment 8 for bug 1744341

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

I tested this out with a copy of our production data, but I didn't have much luck confirming that it was fully working.

I have 3115 frozen holds with 5909 action.hold_copy_map entries. The action.hold_copy_map numbers didn't change after I used the --retarget-frozen option. That may be because there were no changes to make. I'll try and trigger some more changes.

But I did notice in the logs that one of the frozen holds made it into the retarget list, but was then rejected.

[2023-03-01 11:43:32] open-ils.hold-targeter [INFO:2438472:HoldTargeter.pm:404:167769258324384535] targeter: [hold 1431577] exiting => Hold is not eligible for targeting

Line 1261 seems to have another check to exclude a frozen hold.

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=blob;f=Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm;h=58ccc0616598bece2df4ff1e9e1dc28f6fa951f3;hb=8dc431f3827eff75bf979f21a15e5ed3c9bc806e#l1261

This is the command I'm running
./hold_targeter.pl --verbose --parallel=5 --parallel-init-sleep=5 --soft-retarget-interval="12 hours" --retarget-interval="8 days" --retarget-frozen