bug 592777: allow authoritative version of open-ils.circ.retrieve
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Aug 2010 21:22:22 +0000 (21:22 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Aug 2010 21:22:22 +0000 (21:22 +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/branches/rel_1_6_1@17163 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 51438c9..70a632c 100644 (file)
@@ -47,6 +47,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