Skip to content

restate-doctor uses the correct merge operator for partition-store#4619

Merged
AhmedSoliman merged 6 commits intomainfrom
pr4619
Apr 22, 2026
Merged

restate-doctor uses the correct merge operator for partition-store#4619
AhmedSoliman merged 6 commits intomainfrom
pr4619

Conversation

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b24a723ae5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +5227 to +5231
else {
error!("State mutation request was ignored because the vqueue {qid} does not exist!");
// todo: When/if we made state mutations rpc-like, we should return the error to the
// user here.
return Ok(());
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Create queue before enqueuing external state mutations

When experimental_enable_vqueues is on, handle_external_state_mutation always routes PatchState through vqueue_enqueue_state_mutation, but this branch now calls VQueue::get(...).await? and returns Ok(()) if the queue is missing. That silently drops the mutation (only logs), which can happen for the first mutation on an idle key or after the queue became dormant. In those cases user state updates are lost instead of being queued/applied.

Useful? React with 👍 / 👎.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 21, 2026

Test Results

  7 files  ±0    7 suites  ±0   2m 33s ⏱️ -14s
 47 tests ±0   47 ✅ ±0  0 💤 ±0  0 ❌ ±0 
200 runs  ±0  200 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 0928fd2. ± Comparison against base commit 66162ac.

♻️ This comment has been updated with latest results.

@AhmedSoliman AhmedSoliman merged commit 0928fd2 into main Apr 22, 2026
30 of 33 checks passed
@AhmedSoliman AhmedSoliman deleted the pr4619 branch April 22, 2026 08:42
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant