materialize icon indicating copy to clipboard operation
materialize copied to clipboard

coord: Advance timelines when creating new obj

Open jkosh44 opened this issue 2 years ago • 1 comments

If an object is created with an initial read frontier that is larger than the current timestamp of the timeline that object belongs to, then we must advance that timeline to the frontier of that object. This commit updates the code to do that.

The alternative would be to wait until the timeline catches up to the object and then add the object to the timeline.

Fixes #14136

Motivation

This PR fixes a recognized bug.

Checklist

jkosh44 avatar Aug 04 '22 22:08 jkosh44

Linking in this Slack conversation for context: https://materializeinc.slack.com/archives/CMHDK0DK8/p1660073744743419?thread_ts=1660009902.062619&cid=CMHDK0DK8. It seems like we might instead want to be fixing the root cause, and turning this log message into a panic.

benesch avatar Aug 10 '22 06:08 benesch