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

cdc server panic when enable sasl in changefeed config #9669

Closed
sdojjy opened this issue Sep 4, 2023 · 0 comments
Closed

cdc server panic when enable sasl in changefeed config #9669

sdojjy opened this issue Sep 4, 2023 · 0 comments
Labels
affects-6.5 area/ticdc Issues or PRs related to TiCDC. severity/minor type/bug The issue is confirmed as a bug.

Comments

@sdojjy
Copy link
Member

sdojjy commented Sep 4, 2023

version: 6.5.4

�[31m2023/09/04 11:59:37 [Recovery] 2023/09/04 - 11:59:37 panic recovered:
POST /api/v2/changefeeds HTTP/1.1
Host: kop-v654-ch2-ticdc-0.kop-v654-ch2-ticdc-peer.rigel-playground.svc:8301
Accept: application/json
Accept-Encoding: gzip
Content-Length: 1424
Content-Type: application/json
User-Agent: Go-http-client/1.1
X-Client-Version: v6.5.4


runtime error: invalid memory address or nil pointer dereference
runtime/panic.go:260 (0x451375)
runtime/signal_unix.go:839 (0x451345)
[2023/09/04 11:59:37.710 +05:30] [INFO] [kafka_manager.go:100] ["Background refresh Kafka metadata goroutine exit."] [namespace=] [changefeed=]
[github.com/pingcap/tiflow/pkg/config/sink.go:503](http://github.com/pingcap/tiflow/pkg/config/sink.go:503) (0x2da6eb8)
[github.com/pingcap/tiflow/cdc/sink/codec/common/config.go:147](http://github.com/pingcap/tiflow/cdc/sink/codec/common/config.go:147) (0x2da6ee9)
[github.com/pingcap/tiflow/cdc/sinkv2/util/helper.go:75](http://github.com/pingcap/tiflow/cdc/sinkv2/util/helper.go:75) (0x2ed661d)
[github.com/pingcap/tiflow/cdc/sinkv2/eventsink/mq/kafka_dml_sink.go:114](http://github.com/pingcap/tiflow/cdc/sinkv2/eventsink/mq/kafka_dml_sink.go:114) (0x2ee8064)
[github.com/pingcap/tiflow/cdc/sinkv2/eventsink/factory/factory.go:68](http://github.com/pingcap/tiflow/cdc/sinkv2/eventsink/factory/factory.go:68) (0x2f10938)
[github.com/pingcap/tiflow/cdc/sink/validator.go:63](http://github.com/pingcap/tiflow/cdc/sink/validator.go:63) (0x2f12fd0)
[github.com/pingcap/tiflow/cdc/api/v2/api_helpers.go:215](http://github.com/pingcap/tiflow/cdc/api/v2/api_helpers.go:215) (0x2fac6e5)
[github.com/pingcap/tiflow/cdc/api/v2/changefeed.go:84](http://github.com/pingcap/tiflow/cdc/api/v2/changefeed.go:84) (0x2fb0195)
[github.com/gin-gonic/[email protected]/context.go:165](http://github.com/gin-gonic/[email protected]/context.go:165) (0x2f9b301)
[github.com/pingcap/tiflow/cdc/api/middleware/middleware.go:95](http://github.com/pingcap/tiflow/cdc/api/middleware/middleware.go:95) (0x2f9b2bc)
[github.com/gin-gonic/[email protected]/context.go:165](http://github.com/gin-gonic/[email protected]/context.go:165) (0x2f9b011)
[github.com/pingcap/tiflow/cdc/api/middleware/middleware.go:64](http://github.com/pingcap/tiflow/cdc/api/middleware/middleware.go:64) (0x2f9affd)
[github.com/gin-gonic/[email protected]/context.go:165](http://github.com/gin-gonic/[email protected]/context.go:165) (0x2f9a6d9)
[github.com/pingcap/tiflow/cdc/api/middleware/middleware.go:38](http://github.com/pingcap/tiflow/cdc/api/middleware/middleware.go:38) (0x2f9a6bc)
[github.com/gin-gonic/[email protected]/context.go:165](http://github.com/gin-gonic/[email protected]/context.go:165) (0x2f9b4e1)
[github.com/pingcap/tiflow/cdc/api/middleware/middleware.go:103](http://github.com/pingcap/tiflow/cdc/api/middleware/middleware.go:103) (0x2f9b432)
[github.com/gin-gonic/[email protected]/context.go:165](http://github.com/gin-gonic/[email protected]/context.go:165) (0x13431a1)
[github.com/gin-gonic/[email protected]/recovery.go:99](http://github.com/gin-gonic/[email protected]/recovery.go:99) (0x134318c)
[github.com/gin-gonic/[email protected]/context.go:165](http://github.com/gin-gonic/[email protected]/context.go:165) (0x134203d)
[github.com/gin-gonic/[email protected]/gin.go:489](http://github.com/gin-gonic/[email protected]/gin.go:489) (0x1341cc5)
[github.com/gin-gonic/[email protected]/gin.go:445](http://github.com/gin-gonic/[email protected]/gin.go:445) (0x1341824)
net/http/server.go:2947 (0x73ac0b)
net/http/server.go:1991 (0x735d66)
runtime/asm_amd64.s:1594 (0x46f900)

workaround

add the following section to the config file

[sink.kafka-config.large-message-handle]
large-message-handle-option = "none"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 area/ticdc Issues or PRs related to TiCDC. severity/minor type/bug The issue is confirmed as a bug.
Projects
Development

No branches or pull requests

1 participant