summarylogtreecommitdiffstats
path: root/tidb.install
diff options
context:
space:
mode:
authorAllen Zhong2020-07-02 13:41:53 +0800
committerAllen Zhong2020-07-02 13:41:53 +0800
commit48bc5b7e606a2633a5e93ec9627ec82809a7251b (patch)
tree2f6c450999c43cdffe589aea74e09aa8b6f44fe7 /tidb.install
parent401d60fefbfd1f2d7b50961fdf6b6b78baef7705 (diff)
downloadaur-48bc5b7e606a2633a5e93ec9627ec82809a7251b.tar.gz
upgpkg: tidb 4.0.2-1
Diffstat (limited to 'tidb.install')
-rw-r--r--tidb.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/tidb.install b/tidb.install
new file mode 100644
index 000000000000..480099888ff2
--- /dev/null
+++ b/tidb.install
@@ -0,0 +1,10 @@
+post_upgrade() {
+ if [[ $(vercmp $2 4.0.2-1) -le 0 ]]; then
+ echo ':: NOTICE:'
+ echo ' - Starting from v4.0.2, TiDB components has added a new telemetry'
+ echo ' feature enabled by default, which will send usage information'
+ echo ' of TiDB clusters to PingCAP.'
+ echo ' See the official documentation about what is collected and how to'
+ echo ' disable it: https://docs.pingcap.com/tidb/v4.0/telemetry'
+ fi
+}