Skip to content

Fix timeline check for meta sync #15977

@hudi-bot

Description

@hudi-bot

[https://github.com//pull/7561/files#r1203654251]

The following case where the timeline is like:
{code:java}
ts3.rollback, ts50.commit, ts51.commit, ts52.commit, ...{code}

and ts49.commit and ts48.commit are archived.

If we pass in ts47 as the exclusiveStartInstantTime at this point, activeTimeline.isBeforeTimelineStarts(exclusiveStartInstantTime) returns false. However, the active timeline misses ts48.commit and ts49.commit which are required for meta sync. This is a problem if ts48.commit or ts49.commit has partition changes.

JIRA info

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions