Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

persist: followups from #24867 #24895

Closed

Conversation

danhhz
Copy link
Contributor

@danhhz danhhz commented Feb 1, 2024

Doing the code review comments from #24867 as a followup so we could sneak that one into this week's release.

Motivation

  • This PR refactors existing code.

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:

Doing the code review comments from MaterializeInc#24867 as a followup so we could
sneak that one into this week's release.
@danhhz danhhz requested review from bkirwi and a team February 1, 2024 21:09
@danhhz danhhz requested a review from a team as a code owner February 1, 2024 21:09
Copy link
Contributor

@bkirwi bkirwi left a comment

Choose a reason for hiding this comment

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

Thanks in particular for the comment!

.await
.ok_or(blob_key)?;
.await;
let value = value.unwrap_or_else(|| {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah right, compaction is why we didn't have this here. I suppose we can still make compaction work because it fetches things in tasks, which catches the panic and turns it into an Err, but that doesn't feel great...

@danhhz
Copy link
Contributor Author

danhhz commented Jan 13, 2025

Cleaning up old PRs

@danhhz danhhz closed this Jan 13, 2025
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.

2 participants