LP#1596595 Find parallel holds in main query
authorBill Erickson <berickxx@gmail.com>
Mon, 5 Dec 2016 20:46:41 +0000 (15:46 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 13 Feb 2017 17:39:47 +0000 (12:39 -0500)
commit4358053c64756799886f4cc03998006e7dbebeae
tree0e2d1dd88acddd33d296d1b56120c527e942804b
parent2c408b0a030310c496de2b487b1faa501fcbf23d
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>
Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm