Skip to content

Avoid to generate empty split in source emuerator #1900

Description

@luoyuxia

Search before asking

  • I searched in the issues and found nothing similar.

Description

Currently, generateSplitForPrimaryKeyTableBucket and generateSplitForLogTableBucket will generate splits even though the split is empty (the latestBucketOffset is 0), and assign to reader. We can improve it, when latestBucketOffset is 0, we don't need to generate the split.

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions