[open-ils-commits] r17160 - trunk/Open-ILS/src/perlmods/OpenILS/Application (gmc)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Aug 10 17:10:59 EDT 2010


Author: gmc
Date: 2010-08-10 17:10:53 -0400 (Tue, 10 Aug 2010)
New Revision: 17160

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm
Log:
bug 592777: allow authoritative version of open-ils.circ.retrieve

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 at esilibrary.com>


Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm	2010-08-10 18:34:17 UTC (rev 17159)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm	2010-08-10 21:10:53 UTC (rev 17160)
@@ -49,6 +49,7 @@
 
 __PACKAGE__->register_method(
 	method => 'retrieve_circ',
+	authoritative	=> 1,
 	api_name	=> 'open-ils.circ.retrieve',
 	signature => q/
 		Retrieve a circ object by id



More information about the open-ils-commits mailing list