Skip to content

Conversation

@gong
Copy link
Contributor

@gong gong commented Nov 4, 2025

@gong
Copy link
Contributor Author

gong commented Nov 4, 2025

@leonardBang @lvyanquan PTAL

… startup mode is latest-offset and taskManager failover
}

@Override
public void addSplits(Collection<SourceSplitBase> splits) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not do it in addSplitsBack? If added back splits are empty, no need to assign to both snapshot and stream split assinger.

Copy link
Contributor Author

@gong gong Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not do it in addSplitsBack? If added back splits are empty, no need to assign to both snapshot and stream split assinger.

Hi, @loserwang1024 I referred to mysql PR #1627. Only latest-offset mode have problem, so modify streamSplitAssigner.

@gong gong requested a review from loserwang1024 November 5, 2025 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants