pingcap / pingcap/ticdc

The `RemoveKeyspacePrefix `function is being called twice

Open
#3,561 0 comments 0 reactions 1 assignee View on GitHub

@tenfyzhong is already working on this.

Since Dec 10, 2025.

type/enhancement
Dominant language
Go
Stars
56
Forks
63
Avg merge
2d 20h
Merged PRs (30d)
34

Description

https://github.com/pingcap/ticdc/blob/6b18a85f68fd4b007cd327cda33828086e4e931d/pkg/common/event/mounter.go#L74-L75

The DecodeRowKey function has already removed the keyspace prefix, so we don't need to perform the same operation here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.