jenkins-bot has submitted this change and it was merged.
Change subject: Include server in redis lua errors
......................................................................
Include server in redis lua errors
Change-Id: Ib8dbed08fa9d8010d496475de44f61aca31fd410
(cherry picked from commit 81202351ca520fb75a19fd9fb259fb20a55d4fa1)
---
M includes/clientpool/RedisConnectionPool.php
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Aaron Schulz: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/clientpool/RedisConnectionPool.php
b/includes/clientpool/RedisConnectionPool.php
index ef71b18..f7653eb 100644
--- a/includes/clientpool/RedisConnectionPool.php
+++ b/includes/clientpool/RedisConnectionPool.php
@@ -336,7 +336,8 @@
}
if ( $conn->getLastError() ) { // script bug?
- wfDebugLog( 'redis', "Lua script error: " .
$conn->getLastError() );
+ $server = $this->server;
+ wfDebugLog( 'redis', "Lua script error on server
$server: " . $conn->getLastError() );
}
return $res;
--
To view, visit https://gerrit.wikimedia.org/r/93782
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib8dbed08fa9d8010d496475de44f61aca31fd410
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.23wmf2
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits