Skip to content

Commit

Permalink
fix drainer initialCommitTs issue (#2857)
Browse files Browse the repository at this point in the history
* fix drainer initialCommitTs issue

* Update charts/tidb-drainer/values.yaml

* address comment

Co-authored-by: DanielZhangQD <[email protected]>
  • Loading branch information
weekface and DanielZhangQD authored Jul 17, 2020
1 parent 8463ccc commit 53d25ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 53d25ae

Please sign in to comment.