Springle has submitted this change and it was merged.

Change subject: send tcp errors dumps to /dev/null instead of filling up /tmp. 
pt-query-digest v2.x behaviour change.
......................................................................


send tcp errors dumps to /dev/null instead of filling up /tmp. pt-query-digest 
v2.x behaviour change.

Change-Id: I10791deda412ffa422d18e4e6ba5e630feabd00f
---
M modules/coredb_mysql/templates/send_query_digest.sh.erb
M templates/mysql/send_query_digest.sh.erb
2 files changed, 4 insertions(+), 0 deletions(-)

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



diff --git a/modules/coredb_mysql/templates/send_query_digest.sh.erb 
b/modules/coredb_mysql/templates/send_query_digest.sh.erb
index 085a4c7..c45a472 100755
--- a/modules/coredb_mysql/templates/send_query_digest.sh.erb
+++ b/modules/coredb_mysql/templates/send_query_digest.sh.erb
@@ -13,6 +13,8 @@
 runtime=8m
 table="query_review"
 
+export PERCONA_TOOLKIT_TCP_ERRORS_FILE=/dev/null
+
 digestif() {
        /usr/bin/pt-query-digest --review 
h=${digest_host},D=${digest_db},t=${hostname}_${table},u=${mysql_user},p=${pw} \
                --create-review-table \
diff --git a/templates/mysql/send_query_digest.sh.erb 
b/templates/mysql/send_query_digest.sh.erb
index 085a4c7..c45a472 100755
--- a/templates/mysql/send_query_digest.sh.erb
+++ b/templates/mysql/send_query_digest.sh.erb
@@ -13,6 +13,8 @@
 runtime=8m
 table="query_review"
 
+export PERCONA_TOOLKIT_TCP_ERRORS_FILE=/dev/null
+
 digestif() {
        /usr/bin/pt-query-digest --review 
h=${digest_host},D=${digest_db},t=${hostname}_${table},u=${mysql_user},p=${pw} \
                --create-review-table \

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I10791deda412ffa422d18e4e6ba5e630feabd00f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Springle <[email protected]>
Gerrit-Reviewer: Springle <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to