jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/394833 )

Change subject: Lower DatabaseMysqlBase::lock logging to INFO
......................................................................


Lower DatabaseMysqlBase::lock logging to INFO

Whether the lock() acquisition failing is a huge problem depends
on what the caller is doing. Let the caller do any logging it needs.

Bug: T180793
Change-Id: I3d05138d312d8b973df153bb511e69619d663c9d
---
M includes/libs/rdbms/database/DatabaseMysqlBase.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/libs/rdbms/database/DatabaseMysqlBase.php 
b/includes/libs/rdbms/database/DatabaseMysqlBase.php
index e0ff475..305a056 100644
--- a/includes/libs/rdbms/database/DatabaseMysqlBase.php
+++ b/includes/libs/rdbms/database/DatabaseMysqlBase.php
@@ -1044,7 +1044,7 @@
                        return true;
                }
 
-               $this->queryLogger->warning( __METHOD__ . " failed to acquire 
lock '{lockname}'",
+               $this->queryLogger->info( __METHOD__ . " failed to acquire lock 
'{lockname}'",
                        [ 'lockname' => $lockName ] );
 
                return false;

-- 
To view, visit https://gerrit.wikimedia.org/r/394833
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3d05138d312d8b973df153bb511e69619d663c9d
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>
Gerrit-Reviewer: Legoktm <lego...@member.fsf.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to