Manual:$wgJobSerialCommitThreshold

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgJobSerialCommitThreshold and the translation is 30% complete.
Other languages:
English • ‎polski • ‎日本語
ジョブ: $wgJobSerialCommitThreshold
Make job runners commit changes for replica DB-lag prone jobs one job at a time.
導入されたバージョン:1.26.0 (git #7c821cae)
除去されたバージョン:使用中
許容される値:(小数または真偽値)
既定値:false

詳細

Make job runners commit changes for replica DB-lag prone jobs one job at a time. This is useful if there are many job workers that race on replica DB lag checks. If set, jobs taking this many seconds of DB write time have serialized commits.

Note that affected jobs may have worse lock contention. Also, if they affect several DBs at once they may have a smaller chance of being atomic due to the possibility of connection loss while queueing up to commit. Affected jobs may also fail due to the commit lock acquisition timeout.