jenkins-bot has submitted this change and it was merged.

Change subject: Mention the lock name in DatabaseMysqlBase lock() errors
......................................................................


Mention the lock name in DatabaseMysqlBase lock() errors

Also use warning() instead of debug()

Change-Id: I9f5b331072caf29985bfb4319786cc2c5cddf5dd
---
M includes/libs/rdbms/database/DatabaseMysqlBase.php
1 file changed, 2 insertions(+), 2 deletions(-)

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 9be3ede..7abfb17 100644
--- a/includes/libs/rdbms/database/DatabaseMysqlBase.php
+++ b/includes/libs/rdbms/database/DatabaseMysqlBase.php
@@ -991,7 +991,7 @@
                        return true;
                }
 
-               $this->queryLogger->debug( __METHOD__ . " failed to acquire 
lock\n" );
+               $this->queryLogger->warning( __METHOD__ . " failed to acquire 
lock '$lockName'\n" );
 
                return false;
        }
@@ -1013,7 +1013,7 @@
                        return true;
                }
 
-               $this->queryLogger->debug( __METHOD__ . " failed to release 
lock\n" );
+               $this->queryLogger->warning( __METHOD__ . " failed to release 
lock '$lockName'\n" );
 
                return false;
        }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9f5b331072caf29985bfb4319786cc2c5cddf5dd
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>
Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com>
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