summarylogtreecommitdiffstats
path: root/pd.install
blob: 480099888ff2f06028cd9dcf35facca79035724e (plain)
1
2
3
4
5
6
7
8
9
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
}