Storage: Use a more descriptive WAN cache keyclass in 'SqlBlobStore'
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 14 Sep 2019 01:23:36 +0000 (02:23 +0100)
committerKrinkle <krinklemail@gmail.com>
Sat, 14 Sep 2019 02:22:01 +0000 (02:22 +0000)
commitfe3c4189254d7b25df8473ded652520520c39192
tree60fbeb347d46feeab881b9cc92f8b26f3f490b06
parent255e7ac9b938db92623f0e4a2251e9642afaf125
Storage: Use a more descriptive WAN cache keyclass in 'SqlBlobStore'

In order to make statistics from WANObjectCache more useful,
each kind of key should generally have a unique first make*Key
component. This usually corresponds 1:1 to a call to make*Key,
unless the same key format is duplicated in muliple places.

In this case, change ('BlobStore', 'address', …, …)
to ('SqlBlobStore-blob', …, …).

Bug: T197849
Change-Id: Iba3ae1bf947d6f56c72df2cf3f2160d458d38c66
includes/Storage/SqlBlobStore.php
tests/phpunit/includes/RevisionTest.php