Skip to content

Update dogs3 dependency#24742

Merged
frankmcsherry merged 1 commit into
MaterializeInc:mainfrom
frankmcsherry:dogs3_update
Feb 2, 2024
Merged

Update dogs3 dependency#24742
frankmcsherry merged 1 commit into
MaterializeInc:mainfrom
frankmcsherry:dogs3_update

Conversation

@frankmcsherry

Copy link
Copy Markdown
Contributor

Motivation

Tips for reviewer

Checklist

  • This PR has adequate test coverage / QA involvement has been duly considered.
  • This PR has an associated up-to-date design doc, is a design doc (template), or is sufficiently small to not require a design.
  • If this PR evolves an existing $T ⇔ Proto$T mapping (possibly in a backwards-incompatible way), then it is tagged with a T-proto label.
  • If this PR will require changes to cloud orchestration or tests, there is a companion cloud PR to account for those changes that is tagged with the release-blocker label (example).
  • This PR includes the following user-facing behavior changes:

@frankmcsherry frankmcsherry requested review from a team and antiguru January 26, 2024 18:57

@antiguru antiguru left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great, thanks!

trace,
|time| time.step_back(),
|time, antichain| {
antichain.insert(time.step_back());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This doesn't yet give us "precise" compaction as described by the description of this PR yet, right? Do we plan to do this in MZ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It does, it turns out. MZ's use is limited to Product<u64, PointStamp<u64>>, or whatever, and that happens to be a distributive lattice for which compaction by the meet of the frontier equals compaction by the frontier.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We could update the logic to push in each coordinate stepped back independently, for idiomatic reasons, but math says that we don't need to do this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Very interesting, thanks for the explanation!

@frankmcsherry frankmcsherry merged commit abbd311 into MaterializeInc:main Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants