Merge "objectcache: call silenceTransactionProfiler() in SqlBagOStuff::fetchBlobs()"
This commit is contained in:
commit
5f83cbffa4
1 changed files with 3 additions and 1 deletions
|
|
@ -507,11 +507,13 @@ class SqlBagOStuff extends MediumSpecificBagOStuff {
|
|||
* @return array<string,array|null> Order-preserved map of (key => (value,expiry,token) or null)
|
||||
*/
|
||||
private function fetchBlobs( array $keys, bool $getCasToken = false ) {
|
||||
/** @noinspection PhpUnusedLocalVariableInspection */
|
||||
$silenceScope = $this->silenceTransactionProfiler();
|
||||
|
||||
// Initialize order-preserved per-key results; set values for live keys below
|
||||
$dataByKey = array_fill_keys( $keys, null );
|
||||
|
||||
$readTime = (int)$this->getCurrentTime();
|
||||
|
||||
$keysByTableByShard = [];
|
||||
foreach ( $keys as $key ) {
|
||||
list( $shardIndex, $partitionTable ) = $this->getKeyLocation( $key );
|
||||
|
|
|
|||
Loading…
Reference in a new issue