bug 592777: allow authoritative version of open-ils.circ.retrieve
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Aug 2010 21:10:53 +0000 (21:10 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Aug 2010 21:10:53 +0000 (21:10 +0000)
Part of a fix to avoid race condition that can occur
when patron renews an item in the OPAC in a database
that uses pgpool and replication, which sometimes
results in an erroneous 'action_circulation_not_found' error.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17160 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ.pm

index 2ee2334..f85c754 100644 (file)
@@ -49,6 +49,7 @@ sub initialize {
 
 __PACKAGE__->register_method(
        method => 'retrieve_circ',
+       authoritative   => 1,
        api_name        => 'open-ils.circ.retrieve',
        signature => q/
                Retrieve a circ object by id