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 panic when eventFeedSession recive the event has empty entries #9739

Closed
knull-cn opened this issue Sep 13, 2023 · 9 comments · Fixed by #9799
Closed

cdc panic when eventFeedSession recive the event has empty entries #9739

knull-cn opened this issue Sep 13, 2023 · 9 comments · Fixed by #9799
Assignees
Labels
affects-5.4 This bug affects the 5.4.x(LTS) versions. affects-6.1 This bug affects the 6.1.x(LTS) versions. affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. area/ticdc Issues or PRs related to TiCDC. found/gs severity/major type/bug The issue is confirmed as a bug.

Comments

@knull-cn
Copy link
Contributor

What did you do?

deploy cdc (v6.5.3)and create changefeed

What did you expect to see?

normal and no panic

What did you see instead?

panic
image

Versions of the cluster

DM version (run dmctl -V or dm-worker -V or dm-master -V):

(paste DM version here, and you must ensure versions of dmctl, DM-worker and DM-master are same)

Upstream MySQL/MariaDB server version:

(paste upstream MySQL/MariaDB server version here)

Downstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

(paste TiDB cluster version here)

How did you deploy DM: tiup or manually?

(leave TiUP or manually here)

Other interesting information (system version, hardware config, etc):

>
>

current status of DM cluster (execute query-status <task-name> in dmctl)

(paste current status of DM cluster here)
@knull-cn knull-cn added area/dm Issues or PRs related to DM. type/bug The issue is confirmed as a bug. labels Sep 13, 2023
@kennytm
Copy link
Contributor

kennytm commented Sep 13, 2023

Location of panic (entries.Entries.Entries is empty):

commitTs := entries.Entries.Entries[0].CommitTs

Potential source of empty Entries:

@kennytm kennytm added area/ticdc Issues or PRs related to TiCDC. affects-6.5 This bug affects the 6.5.x(LTS) versions. and removed area/dm Issues or PRs related to DM. labels Sep 13, 2023
@fubinzh
Copy link

fubinzh commented Sep 14, 2023

/severity major

@nongfushanquan
Copy link
Contributor

/assign @hicqu

@seiya-annie
Copy link

/label found/gs

@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Sep 20, 2023

@seiya-annie: The label(s) found/gs cannot be applied. These labels are supported: duplicate, bug-from-internal-test, bug-from-user, affects-5.3, affects-5.4, affects-6.0, affects-6.1, affects-6.2, affects-6.3, affects-6.4, affects-6.5, affects-6.6, affects-7.0, affects-7.1, affects-7.2, affects-7.3, may-affects-5.3, may-affects-5.4, may-affects-6.0, may-affects-6.1, may-affects-6.2, may-affects-6.3, may-affects-6.4, may-affects-6.5, may-affects-6.6, may-affects-7.0, may-affects-7.1, may-affects-7.2, may-affects-7.3, needs-cherry-pick-release-5.3, needs-cherry-pick-release-5.4, needs-cherry-pick-release-6.0, needs-cherry-pick-release-6.1, needs-cherry-pick-release-6.2, needs-cherry-pick-release-6.3, needs-cherry-pick-release-6.4, needs-cherry-pick-release-6.5, needs-cherry-pick-release-6.6, needs-cherry-pick-release-7.0, needs-cherry-pick-release-7.1, needs-cherry-pick-release-7.2, needs-cherry-pick-release-7.3, question, release-blocker, wontfix, require-LGT1, require-LGT3.

In response to this:

/label found/gs

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@pingcap pingcap deleted a comment from ti-chi-bot bot Sep 20, 2023
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Sep 20, 2023

@jebter: These labels are not set on the issue: found/gc.

In response to this:

/remove-found gc

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@jebter
Copy link

jebter commented Sep 20, 2023

/remove-found gs

@ti-chi-bot ti-chi-bot bot removed the found/gs label Sep 20, 2023
@jebter
Copy link

jebter commented Sep 20, 2023

/found gs

@ti-chi-bot ti-chi-bot bot added the found/gs label Sep 20, 2023
@jebter
Copy link

jebter commented Sep 21, 2023

/label affects-6.5

@hicqu hicqu added the affects-7.1 This bug affects the 7.1.x(LTS) versions. label Sep 24, 2023
hicqu added a commit to hicqu/ticdc that referenced this issue Sep 24, 2023
@ti-chi-bot ti-chi-bot added affects-5.4 This bug affects the 5.4.x(LTS) versions. affects-6.1 This bug affects the 6.1.x(LTS) versions. labels Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-5.4 This bug affects the 5.4.x(LTS) versions. affects-6.1 This bug affects the 6.1.x(LTS) versions. affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. area/ticdc Issues or PRs related to TiCDC. found/gs severity/major type/bug The issue is confirmed as a bug.
Projects
Development

Successfully merging a pull request may close this issue.

8 participants