]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1596595 Find parallel holds in main query
authorBill Erickson <berickxx@gmail.com>
Mon, 5 Dec 2016 20:46:41 +0000 (15:46 -0500)
committerKathy Lussier <klussier@masslnc.org>
Fri, 17 Feb 2017 05:58:53 +0000 (00:58 -0500)
commit276a7cc22c9f23ab2cd1870a6675c5769a5d08c6
tree9e1d8398ebe0ba97cb8bcc553be22978a344067a
parent8b5487e0c6ccc92c175e8ae24c1b2ddd7ca19d27
LP#1596595 Find parallel holds in main query

Identify holds to process by which metarecord the hold is (ultimately)
linked to within the main holds query instead of via a secondary filter.
This avoids the overhead of starting a new batch of hold targeters,
where each process has to fetch all possible holds, then filter down to
those targetable within the current parallel slot.  In thise case, each
process only retrieves the holds it plans to process.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm