On Tue, Mar 21, 2023 at 9:54 AM Galen Charlton <[email protected]> wrote:

> Hi,
>
> On Mon, Mar 20, 2023 at 4:07 PM Bill Erickson via Evergreen-dev <
> [email protected]> wrote:
>
>> Since these begin + rollback pairs (and ".authoritative" APIs) serve no
>> purpose in our environment, I was considering creating a local patch to
>> disable them.  However, before I start patching locally, I'm curious if
>> there is a broader desire for deprecating authoritative APIs?  I suspect
>> they can be turned into NO-OP's with 2 or 3 well-placed lines of code.
>>
>> Do many/any of you use live, read-only pooled database replicas?
>>
>
> I don't think there are many (or any) left, but just in case, it looks
> like it would be straightforward to either adjust authoritative_wrapper()
> or register_method() in OpenILS::Application to look for an opensrf.xml
> service setting called something like "uses_pooled_read_replica_dbs" to
> decide whether to actually apply the wrapper or just clone the base method.
>
> I think it would be OK to default that setting to false.
>

Thanks, Galen.  Makes sense.  I'll open an LP.

-b

> <http://evergreen-ils.org>
>
_______________________________________________
Evergreen-dev mailing list
[email protected]
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-dev

Reply via email to