If I remember correctly, I don't think, in ATS9, you can load the same plugin in both plugin.config and remap.config. But I'm not sure that's a new restriction in 9 versus 7.
On Fri, Mar 19, 2021 at 9:19 PM Alan Carroll <solidwallofc...@verizonmedia.com.invalid> wrote: > Yes, sorry, I'm OOO this week. You can disable it in "records.config" but > there is also now a plugin API call to disable it for a specific plugin > which is a safer approach. I don't recall offhand, but it should be in the > ATS 10 docs, and I think it's been backported to our ATS 9. There's an > example in TxnBox if you want to check that source (in > plugin/src/txn_box.cc). > > On Fri, Mar 19, 2021, 17:40 Chou, Peter <pbc...@labs.att.com> wrote: > > > OK, I found the "CONFIG proxy.config.plugin.dynamic_reload_mode INT 0" to > > disable this > > new feature. After I already modified my plugin ... :-) > > > > From: Chou, Peter > > Sent: Friday, March 19, 2021 2:02 PM > > To: dev@trafficserver.apache.org > > Subject: Help with plugin loading in ATS 7.1.x vs ATS 9.0.x. > > > > Hi, > > > > I have a plugin under ATS 7.1.x that performed initialization under the > > global plugin context. This initialized data used to be available to the > > remap contexts of the same plugin. > > > > I assume that the new remap plugin reloading capability in 9.0.0 means > > that this no long works (since remap plugins are considered different DSO > > files due to the copying to the unique directories)? > > > > Thanks, > > Peter > > >