Aaron Schulz
f3a197e49b
rdbms: add "maxReadRows" limit to TransactionProfiler
...
Change-Id: I008fc1857c7aa43d93f43361803d5e52c4ddf089
2018-08-13 13:30:08 -07:00
Aaron Schulz
f6c9b7a7b7
rdbms: Bump TransactionProfiler log entries to WARNING
...
Change-Id: I4816cfb8c8cd3b8e3dd2fe10c028c4654cc82854
2018-02-02 03:52:31 +00:00
Thiemo Mättig
ef470ebf7f
Remove @param comments that literally repeat what the code says
...
These comments do not add anything. I argue they are worse than having
no comments, because I have to read them first to understand they
actually don't explain anything. Removing them makes room for actual
improvements in the future (if needed).
Change-Id: Iee70aad681b3385e9af282d5581c10addbb91ac4
2018-01-10 14:14:26 +01:00
Umherirrender
86463f3df6
build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
...
Change-Id: Iefaae5043fa77d5d556c31079549dab8f61bd3ef
2017-09-10 21:11:37 +02:00
Umherirrender
3f1a52805e
Use short type bool/int in param documentation
...
Enable the phpcs sniffs for this and used phpcbf
Change-Id: Iaa36687154ddd2bf663b9dd519f5c99409d37925
2017-08-20 13:20:59 +02:00
Umherirrender
5544cef16b
Add missing type to @param documentation
...
Change-Id: I6b2c9c7af9a281fe457099cc3a336a60a25e74aa
2017-08-11 20:37:35 +02:00
Aaron Schulz
422973292a
Paramaterize TransactionProfiler log entries
...
Change-Id: I4e468d818af48dba21cd2c567f4e6a58beb0924b
2017-06-28 18:22:54 +00:00
jenkins-bot
b4ba469f26
Merge "Record TransactionProfiler violations beyond the first-by-type"
2017-06-28 01:13:14 +00:00
Aaron Schulz
e447f90896
Record TransactionProfiler violations beyond the first-by-type
...
Beyond giving a more complete picture, this can be used to adjust
the PostSend criteria to log master queries under the restInPeace()
entry point.
Bug: T166199
Change-Id: If5cf704ba10291d0eba63e66b388666fde3ca649
2017-06-27 16:44:33 -07:00
Aaron Schulz
82e2c924e4
Remove "@author Aaron Schulz" annotations
...
Bug: T139301
Change-Id: Ib5248e8e27d60611c7373bce4b29dd5e85aa3489
2017-06-27 15:24:14 -07:00
Aaron Schulz
8f297550d2
Log when transactions affect many rows in TransactionProfiler
...
This augments the logging which detect single large write queries
Bug: T95501
Change-Id: I4eac35c56a472e5ba64270ea10c48bf33138417b
2017-05-26 18:46:49 +00:00
Aaron Schulz
59053a0716
Move ChronologyProtector/TransactionProfiler to Rdbms namespace
...
Change-Id: I37a655bd8bd267c9bc32028b55925b2dce527d33
2017-01-26 10:30:57 -08:00
Aaron Schulz
9a8c8ab98c
Make TransactionProfiler::setSilenced() calls handle nesting
...
Change-Id: I6511a72a0fb921468a8a19ceb4d0a8ae669aa6e4
2016-10-12 18:14:03 -07:00
Erik Bernhardson
44da55fffb
Use a parameterized log for sub-optimal transaction logging
...
In logstash these messages can't be grouped in any way, because they are
all slightly different. By using a parameterized log message these can
be grouped to give a better overview about the size of a problem.
Change-Id: Icfa957bd1775b49bccd6e9920586c94eb4597f9b
2016-10-05 12:30:18 -07:00
Aaron Schulz
5bbac35ed1
Replace DatabaseBase:: with Database:: and update type hints
...
Change-Id: I3919b04eb2de4fa0bf8a02239fb5bbf17d347511
2016-09-27 04:20:03 +00:00
Aaron Schulz
531aa2906e
Move TransactionProfiler to /libs/rdbms
...
Change-Id: I13173facc9f101bca69e3bf3e85f292f8468e855
2016-09-14 05:18:57 -07:00