Skip to content

[net-685] last applied assignment in messages#210

Open
toschoosqd wants to merge 2 commits into
mainfrom
net-685-last-applied-assignment
Open

[net-685] last applied assignment in messages#210
toschoosqd wants to merge 2 commits into
mainfrom
net-685-last-applied-assignment

Conversation

@toschoosqd

Copy link
Copy Markdown
Contributor

Summary

Adds optional last_applied_assignment_id to worker heartbeat messages for NET-685.

This lets workers report the highest worker assignment they have fully applied, so the ping collector can persist that signal for later MVCC portal-promotion logic.

Notes

  • Field is optional for backward compatibility.
  • Field type is string; the value is opaque to workers, portals, and network-components.
  • Uses proto field number 6; field 5 is already used by current_epoch.
  • Assignment ordering is scheduler-owned and handled separately under NET-686.
  • Scheduler-side consumption is out of scope for this PR.

Validation

  • cargo test -p sqd-messages

@toschoosqd toschoosqd requested a review from define-null June 25, 2026 08:53
@toschoosqd toschoosqd self-assigned this Jun 25, 2026

@define-null define-null left a comment

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.

LGTM

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