<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 21, 2023 at 9:54 AM Galen Charlton <<a href="mailto:gmc@equinoxoli.org">gmc@equinoxoli.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 20, 2023 at 4:07 PM Bill Erickson via Evergreen-dev <<a href="mailto:evergreen-dev@list.evergreen-ils.org" target="_blank">evergreen-dev@list.evergreen-ils.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><font face="monospace"></font></div><div><font face="monospace">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, </font><span style="font-family:monospace">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.</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Do many/any of you use live, read-only pooled database replicas?</span></div></div></blockquote></div><div><br></div><div>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.<br></div><div><br></div><div>I think it would be OK to default that setting to false.<br></div></div></blockquote><div><br></div><div>Thanks, Galen. Makes sense. I'll open an LP.</div><div><br></div><div>-b</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><a href="http://evergreen-ils.org" target="_blank"></a></div></div></div>
</blockquote></div></div>