Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix drainer initialCommitTs issue #2857

Merged
merged 10 commits into from
Jul 17, 2020
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ done
-addr=`echo ${HOSTNAME}`.{{ include "drainer.name" . }}:8249 \
-config=/etc/drainer/drainer.toml \
-disable-detect={{ .Values.disableDetect | default false }} \
-initial-commit-ts={{ .Values.initialCommitTs | default 0 }} \
-initial-commit-ts={{ .Values.initialCommitTs | default -1 }} \
-data-dir=/data \
-log-file=""
2 changes: 1 addition & 1 deletion charts/tidb-drainer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ storage: 10Gi
# disbale detect causality
disableDetect: false
# if drainer donesn't have checkpoint, use initial commitTS to initial checkpoint
initialCommitTs: 0
initialCommitTs: "-1"

# Whether enable the TLS connection between TiDB server components
tlsCluster:
Expand Down