Skip to content

Commit

Permalink
log-backup: fix default ts not passed tz check (#35907)
Browse files Browse the repository at this point in the history
ref #31975
  • Loading branch information
3pointer authored Jul 11, 2022
1 parent 19b96b9 commit 600fa2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion br/pkg/task/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ func DefineStreamStartFlags(flags *pflag.FlagSet) {
flags.String(flagStreamStartTS, "",
"usually equals last full backupTS, used for backup log. Default value is current ts.\n"+
"support TSO or datetime, e.g. '400036290571534337' or '2018-05-11 01:42:23'.")
flags.String(flagStreamEndTS, "2035-1-1 00:00:00", "end ts, indicate stopping observe after endTS"+
// 999999999999999999 means 2090-11-18 22:07:45
flags.String(flagStreamEndTS, "999999999999999999", "end ts, indicate stopping observe after endTS"+
"support TSO or datetime")
_ = flags.MarkHidden(flagStreamEndTS)
flags.Int64(flagGCSafePointTTS, utils.DefaultStreamStartSafePointTTL,
Expand Down

0 comments on commit 600fa2e

Please sign in to comment.