From 87fbb55a8533b882f42c18f86881bf9c8b3c01f1 Mon Sep 17 00:00:00 2001 From: dongmen <414110582@qq.com> Date: Mon, 10 Jan 2022 14:08:23 +0800 Subject: [PATCH] fix it error --- cdc/capture/http_errors.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cdc/capture/http_errors.go b/cdc/capture/http_errors.go index 79db530429d..91aa41f6d87 100644 --- a/cdc/capture/http_errors.go +++ b/cdc/capture/http_errors.go @@ -25,7 +25,8 @@ var httpBadRequestError = []*errors.Error{ cerror.ErrAPIInvalidParam, cerror.ErrSinkURIInvalid, cerror.ErrStartTsBeforeGC, cerror.ErrChangeFeedNotExists, cerror.ErrTargetTsBeforeStartTs, cerror.ErrTableIneligible, cerror.ErrFilterRuleInvalid, cerror.ErrChangefeedUpdateRefused, cerror.ErrMySQLConnectionError, - cerror.ErrMySQLInvalidConfig, cerror.ErrCaptureNotExist, + cerror.ErrMySQLInvalidConfig, cerror.ErrCaptureNotExist, cerror.ErrTaskStatusNotExists, + cerror.ErrTaskPositionNotExists, } // IsHTTPBadRequestError check if a error is a http bad request error