Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F584911
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
753 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/includes/libs/rdbms/loadbalancer/LoadBalancer.php b/includes/libs/rdbms/loadbalancer/LoadBalancer.php
index d9e335b0a8f..2e607f1513d 100644
--- a/includes/libs/rdbms/loadbalancer/LoadBalancer.php
+++ b/includes/libs/rdbms/loadbalancer/LoadBalancer.php
@@ -1528,6 +1528,9 @@ class LoadBalancer implements ILoadBalancerForOwner {
[ 'exception' => new RuntimeException() ]
)
);
+ $this->statsFactory->getCounter( 'rdbms_callback_writes_found_total' )
+ ->setLabel( 'db_server', $conn->getServerName() )
+ ->increment();
} elseif ( $conn->trxLevel() ) {
// A callback from another handle read from this one and DBO_TRX is set,
// which can easily happen if there is only one DB (no replicas)
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:31 AM (11 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227401
Default Alt Text
(753 B)
Attached To
Mode
rMW mediawiki
Attached
Detach File
Event Timeline
Log In to Comment