wiki.techinc.nl/includes
Aaron Schulz db36853718 rdbms: make automatic connection recovery more robust
Rename canRecoverFromDisconnect() in order to better describe
its function. Make it use the transaction ID and query walltime
as arguments and return an ERR_* class constant instead of a bool.
Avoid retries of slow queries that yield lost connection errors.

Track session state errors caused by the loss of named locks or
temp tables (e.g. during connection loss). Such errors will prevent
further queries except for rollback() and flushSession(), which must
be issued to resolve the error.

Add flushPrimarySessions() methods to LBFactory/LoadBalancer
and use it in places where session state loss is meant to be
safely aknowledged.

Change-Id: I60532f86e629c83b357d4832d1963eca17752944
2022-04-14 11:09:31 +10:00
..
actions Merge "Add more support for read new in links migration" 2022-04-13 09:21:42 +00:00
api Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
auth Use MainConfigNames instead of string literals 2022-04-11 17:53:27 +03:00
block Don't allow passing a db to BlockRestrictionStore::loadByBlockId() 2022-03-26 06:12:15 +01:00
cache Add more support for read new in links migration 2022-04-12 02:22:17 +02:00
changes Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
changetags Use MainConfigNames instead of string literals 2022-04-11 17:53:27 +03:00
collation phan: Disable null_casts_as_any_type setting 2022-03-21 18:25:07 +00:00
CommentFormatter phan: Remove PhanPossiblyUndeclaredVariable suppression 2022-03-30 19:47:15 +00:00
composer Pass link in a map 2021-12-23 17:54:05 +00:00
config phan: Disable null_casts_as_any_type setting 2022-03-21 18:25:07 +00:00
content page: Improve class documentation briefs 2022-04-12 00:49:41 +00:00
context Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
dao rdbms: remove deprecated DBAccessBase class 2022-01-26 17:08:14 -08:00
db Add validation for abstract schema 2022-02-22 17:41:08 +00:00
debug Merge "debug: Fix $wgDebugRawPage to work with PSR-3 debug logging" 2022-04-13 00:49:05 +00:00
deferred deferred: Deprecate the SiteStatsUpdate constructor, use ::factory() 2022-04-12 22:00:59 +01:00
diff phan: Disable null_casts_as_any_type setting 2022-03-21 18:25:07 +00:00
edit Introduced PreparedUpdate to replace PreparedEdit 2021-12-20 21:19:52 +01:00
editpage EditPage: make most methods private 2022-03-26 12:00:27 +00:00
exception rdbms: make automatic connection recovery more robust 2022-04-14 11:09:31 +10:00
export Use MainConfigNames instead of string literals 2022-04-11 17:53:27 +03:00
externalstore historyblob: Improve param and property documentation 2022-03-08 23:45:44 +00:00
filebackend Use updated ObjectFactory namespace 2022-03-09 23:04:51 +00:00
filerepo Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
gallery Handle broken media and thumb error in the same case for gallery 2022-03-21 20:36:52 -04:00
historyblob historyblob: Improve param and property documentation 2022-03-08 23:45:44 +00:00
Hook Merge "Fix various documentation related to null types (part II)" 2022-03-09 22:42:42 +00:00
HookContainer Create ParserFetchTemplateData hook 2022-03-28 17:25:34 -04:00
htmlform htmlform: List all arguments on HTMLForm::factory instead of varargs 2022-04-02 18:40:30 +02:00
http Use MainConfigNames instead of string literals 2022-04-11 17:53:27 +03:00
import Use MainConfigNames instead of string literals 2022-04-11 17:53:27 +03:00
installer Localisation updates from https://translatewiki.net. 2022-04-12 06:47:49 +00:00
interwiki Merge "interwiki: Adjust documentation for InterwikiLookup::getAllPrefixes" 2022-03-09 22:28:04 +00:00
jobqueue Merge "Use MainConfigNames instead of string literals" 2022-04-11 19:19:12 +00:00
json Type hints for ArrayAccess and JsonSerializable 2022-04-11 15:06:27 +03:00
language phan: Remove PhanPossiblyUndeclaredVariable suppression 2022-03-30 19:47:15 +00:00
languages Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
libs rdbms: make automatic connection recovery more robust 2022-04-14 11:09:31 +10:00
linkeddata
linker Migrate QueryPages using templatelinks to support read new 2022-04-12 02:22:38 +02:00
logging logging: Normalize "infinity" in BlockLogFormatter for pre-T241709 rows 2022-04-12 20:57:18 +00:00
mail Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
media Merge "media: Improve documentation on Handler functions" 2022-04-11 23:13:43 +00:00
Message
Navigation
objectcache Merge "installer: make 'db-replicated' an alias for CACHE_DB for sqlite" 2022-04-05 21:23:09 +00:00
page WikiPageFactory: Improve phan suppressions 2022-04-12 07:00:14 +01:00
pager pager: Improve Y2K38 check to keep leading zero in 3-digit years 2022-04-13 19:52:19 +02:00
ParamValidator/TypeDef paramvalidator: Add comment about used paramvalidator- messages 2022-04-11 23:56:02 +02:00
parser Fix SignatureValidatorFactory circular dependency 2022-04-13 12:38:00 +10:00
password Fix typos in comments (N-R) 2022-01-09 23:14:44 +05:30
Permissions phan: Disable null_casts_as_any_type setting 2022-03-21 18:25:07 +00:00
poolcounter Change ParserOutputAccess workers to work with Status objects 2022-04-08 15:47:59 +02:00
preferences Fix SignatureValidatorFactory circular dependency 2022-04-13 12:38:00 +10:00
profiler profiler: Deprecate unused 'trace' option 2022-04-13 21:04:56 +00:00
rcfeed phan: Disable null_casts_as_any_type setting 2022-03-21 18:25:07 +00:00
registration ExtensionRegistry: Add process cache for lazy attributes 2022-02-01 21:01:44 +11:00
resourceloader Use MainConfigNames instead of string literals 2022-04-11 17:53:27 +03:00
Rest Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
Revision Merge "RevisionStore::getRelativeRevision: use the supplied timestamp, if any" 2022-03-22 23:01:04 +00:00
revisiondelete Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
revisionlist phan: Disable null_casts_as_any_type setting 2022-03-21 18:25:07 +00:00
search Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
session Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
Settings Merge "Use MainConfigNames instead of string literals, #2" 2022-04-13 18:48:20 +00:00
shell Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
site Merge "Implement __serialize/__unserialize for PHP 8.1 support" 2022-02-07 05:10:04 +00:00
skins Merge "skins: Remove used deprecated Skin::class methods" 2022-04-13 22:08:21 +00:00
sparql Replace some more usages of Wikimedia\(suppress|restore)Warnings() 2022-02-24 20:27:46 +00:00
specialpage Suggest pages when searching subpages for Special:EditPage and friends 2022-04-12 20:36:00 +00:00
specials Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
Storage Type hints for ArrayAccess and JsonSerializable 2022-04-11 15:06:27 +03:00
templates Remove errorbox class 2022-02-11 22:22:23 +00:00
tidy Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
title phan: Disable null_casts_as_any_type setting 2022-03-21 18:25:07 +00:00
upload phan: Remove PhanPossiblyUndeclaredVariable suppression 2022-03-30 19:47:15 +00:00
user Use MainConfigNames instead of string literals, #2 2022-04-13 18:55:46 +03:00
utils Refactor URL-parsing global functions to class 2022-04-12 15:14:35 +03:00
watcheditem phan: Disable null_casts_as_any_type setting 2022-03-21 18:25:07 +00:00
watchlist Propagate the RevisionRecord down from Article::view() to WatchlistManager 2022-03-18 18:57:55 +11:00
widget
xml phan: Disable scalar_implicit_cast setting 2022-03-18 18:52:24 +00:00
.htaccess
ActorMigration.php
ActorMigrationBase.php
AutoLoader.php Refactor URL-parsing global functions to class 2022-04-12 15:14:35 +03:00
BadFileLookup.php
BootstrapHelperFunctions.php installer: Simplify wfDetectLocalSettingsFile and document gotchass 2022-03-01 17:43:15 +00:00
CategoriesRdf.php phan: Disable scalar_implicit_cast setting 2022-03-18 18:52:24 +00:00
Category.php Category: Add return type to count methods 2022-02-07 06:30:47 +00:00
CategoryViewer.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
CommentStore.php phan: Remove PhanPossiblyUndeclaredVariable suppression 2022-03-30 19:47:15 +00:00
CommentStoreComment.php
config-merge-strategies.php SettingsBuilder: fix merging into globals 2022-01-24 17:35:15 +01:00
config-schema.php BotPasswordSessionProvider: inject GrantsInfo 2022-04-12 18:48:48 +02:00
ConfiguredReadOnlyMode.php
ContentSecurityPolicy.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
DefaultSettings.php BotPasswordSessionProvider: inject GrantsInfo 2022-04-12 18:48:48 +02:00
DefaultSettings.template Generate DefaultSettings.php from schema 2022-03-18 10:25:52 +01:00
Defines.php Refactor URL-parsing global functions to class 2022-04-12 15:14:35 +03:00
DeprecatedGlobal.php
DerivativeRequest.php
DevelopmentSettings.php debug: Fix $wgDebugRawPage to work with PSR-3 debug logging 2022-04-13 00:29:40 +00:00
DummyLinker.php
EditPage.php Merge "Temporarily undeprecate EditPage::$textbox2" 2022-04-07 15:05:35 +00:00
Emptiable.php
EventRelayerGroup.php
ExtensionInfo.php
FauxRequest.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
FauxRequestUpload.php
FauxResponse.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
FeedUtils.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
FileDeleteForm.php SpecialDelete: check permissions again when deleting 2022-04-11 12:47:47 -04:00
ForeignResourceManager.php Avoid use of null, bool or Status in log messages 2022-03-02 22:45:10 +00:00
ForkController.php
FormOptions.php Type hints for ArrayAccess and JsonSerializable 2022-04-11 15:06:27 +03:00
GitInfo.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
GlobalFunctions.php Refactor URL-parsing global functions to class 2022-04-12 15:14:35 +03:00
HeaderCallback.php
Hooks.php
Html.php Drop messagebox, warningbox, errorbox classes 2022-04-11 17:40:04 +00:00
Linker.php Merge "Derive rdfa type from the thumb" 2022-04-12 04:59:07 +00:00
LinkFilter.php
ListToggle.php
MagicWord.php Fix various documentation related to null types 2022-02-26 10:31:24 +01:00
MagicWordArray.php
MagicWordFactory.php
MainConfigNames.php Add wiki-farm support 2022-04-01 14:29:22 +02:00
MainConfigNames.template Generate config name constants. 2022-03-18 10:32:58 +01:00
MainConfigSchema.php Merge "debug: Fix $wgDebugRawPage to work with PSR-3 debug logging" 2022-04-13 00:49:05 +00:00
MediaWiki.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
MediaWikiServices.php Merge "Refactor URL-parsing global functions to class" 2022-04-12 14:49:46 +00:00
MediaWikiVersionFetcher.php
MergeHistory.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
MovePage.php page: Improve class documentation briefs 2022-04-12 00:49:41 +00:00
MWGrants.php
MWNamespace.php Emit correct version in deprecation warnings for MWNamespace 2021-12-27 12:37:36 +00:00
MWTimestamp.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
NoLocalSettings.php
OrderedStreamingForkController.php Stop using is_resource() where possible 2022-01-26 10:03:23 +11:00
OutputHandler.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
OutputPage.php Drop messagebox, warningbox, errorbox classes 2022-04-11 17:40:04 +00:00
PageProps.php phan: Remove PhanPossiblyUndeclaredVariable suppression 2022-03-30 19:47:15 +00:00
PathRouter.php
PHPVersionCheck.php Prepare active branch following REL1_38 cut, labelling as 1.39-alpha 2022-03-14 21:50:17 -04:00
Pingback.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
ProtectionForm.php HTMLForm: Deprecate calling loadData() from outside 2022-03-17 04:49:53 +00:00
ProxyLookup.php
RawMessage.php
ReadOnlyMode.php
ServiceWiring.php Fix SignatureValidatorFactory circular dependency 2022-04-13 12:38:00 +10:00
Setup.php Test dynamic configuration logic 2022-04-12 15:21:35 +03:00
SetupDynamicConfig.php Test dynamic configuration logic 2022-04-12 15:21:35 +03:00
SiteConfiguration.php phan: Remove PhanTypePossiblyInvalidDimOffset suppression 2022-03-28 23:26:49 +02:00
SiteStats.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
SiteStatsInit.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
Status.php Status: Ensure MessageLocalizer is used if provided 2022-03-08 01:50:37 +00:00
StreamFile.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
StubGlobalUser.php
StubObject.php Use updated ObjectFactory namespace 2022-03-09 23:04:51 +00:00
StubUserLang.php
TemplateParser.php TemplateParser: avoid warnings when called by NoLocalSettings. 2022-04-13 19:22:52 +02:00
TemplatesOnThisPageFormatter.php
Title.php Add more support for read new in links migration 2022-04-12 02:22:17 +02:00
TitleArray.php
TitleArrayFromResult.php
TitleFactory.php
TrackingCategories.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
WebRequest.php WebRequest: Micro-optimise getIP 2022-04-06 17:24:31 +00:00
WebRequestUpload.php
WebResponse.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
WebStart.php Define MW_INSTALL_PATH constant and BaseDirectory config. 2022-03-04 14:18:27 +01:00
WikiMap.php
WikiReference.php