-
Notifications
You must be signed in to change notification settings - Fork 289
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
CDC panic: The CRTs must be greater than the resolvedTs #1576
Comments
|
Still under investigation, the bug can't be reproduced |
I change the severity from critical to major because this bug can't be reproduced. |
another case cdc-2021-06-10T03-33-13.437.log.tar.gz
|
After investigation, this case tends to be the same cause with bug found in the original issue. A potential cause is a table merges more region beyond its original region range, which causes resolved fallen back. If this is the root cause, no data loss happens |
Bug Report
Please answer these questions before submitting your issue. Thanks!
What did you expect to see?
What did you see instead?
cdc server exit with error message:
panic: The CRTs must be greater than the resolvedTs
goroutine 48868 [running]:
go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xd1f5ae1c80, 0xcf90f21d00, 0x4, 0x4)
go.uber.org/zap@v1.16.0/zapcore/entry.go:234 +0x567
go.uber.org/zap.(*Logger).Panic(0xc3fc2da8a0, 0x2c78d20, 0x2c, 0xcf90f21d00, 0x4, 0x4)
go.uber.org/zap@v1.16.0/logger.go:226 +0x7f
github.com/pingcap/log.Panic(0x2c78d20, 0x2c, 0xcf90f21d00, 0x4, 0x4)
github.com/pingcap/log@v0.0.0-20201112100606-8f1e84a3abc8/global.go:50 +0xff
github.com/pingcap/ticdc/cdc/puller.(*pullerImpl).Run.func5.1(0xd23faa1180, 0xd23faa1180, 0x1b)
github.com/pingcap/ticdc@/cdc/puller/puller.go:194 +0x39a
github.com/pingcap/ticdc/cdc/puller.(*pullerImpl).Run.func5(0xc3d6ad2768, 0x0)
github.com/pingcap/ticdc@/cdc/puller/puller.go:253 +0x33f
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc3d54a04e0, 0xc3d6aa40c0)
golang.org/x/sync@v0.0.0-20201020160332-67f06af15bc9/errgroup/errgroup.go:57 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
golang.org/x/sync@v0.0.0-20201020160332-67f06af15bc9/errgroup/errgroup.go:54 +0x66
Versions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):TiCDC version (execute
cdc version
):The text was updated successfully, but these errors were encountered: