wiki.techinc.nl/includes/export
daniel 5b0b54599b Allow DB config to be reloaded on the fly
This introduces $wgLBFactoryConf['configCallback'] which can be set to a
function that returns updates to be applied to $wgLBFactoryConf. The new
method LBFactory::autoreConfigure() can be called to check the callabck
and, if the config changed, reconfigure all existing LoadBalancers.

Reconfiguring the LoadBalancers causes all open connections to be
invalidated; however, any DBConnRef instances will remain valid and will
acquire a fresh connection from the LoadBalancer automatically when
appropriate.

As a proof of concept, this patch adds support for config reloding
into WikiExporter.

Bug: T298485
Change-Id: I6c3ffde62f6e038730736abe980befd90ec43e1a
2022-08-05 17:32:12 +02:00
..
Hook
BaseDump.php
Dump7ZipOutput.php
DumpBZip2Output.php
DumpDBZip2Output.php
DumpFileOutput.php
DumpFilter.php
DumpGZipOutput.php
DumpLatestFilter.php
DumpLBZip2Output.php
DumpMultiWriter.php
DumpNamespaceFilter.php
DumpNotalkFilter.php
DumpOutput.php
DumpPipeOutput.php
DumpStringOutput.php
ExportProgressFilter.php
WikiExporter.php Allow DB config to be reloaded on the fly 2022-08-05 17:32:12 +02:00
WikiExporterFactory.php
XmlDumpWriter.php Remove references to legacy page_restrictions field in page table 2022-05-09 11:20:53 +02:00