[open-ils-commits] r17162 - branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application (gmc)

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


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

Modified:
   branches/rel_1_6/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: branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm
===================================================================
--- branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm	2010-08-10 21:12:56 UTC (rev 17161)
+++ branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm	2010-08-10 21:21:53 UTC (rev 17162)
@@ -47,6 +47,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