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

Update protos to pass function schedule in definition, not create request #2328

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

mwaskom
Copy link
Contributor

@mwaskom mwaskom commented Oct 5, 2024

Storing the schedule in the Function definition will allow us to make schedule updates atomic with app redeployments.

Backward/forward compatibility checks

Check these boxes or delete any item (or this section) if not relevant for this PR.

  • Client+Server: this change is compatible with old servers
  • Client forward compatibility: this change ensures client can accept data intended for later versions of itself

Note on protobuf: protobuf message changes in one place may have impact to
multiple entities (client, server, worker, database). See points above.



// When the function is a "grouped" one, this records the # of tasks we want
// to schedule in tandem.
uint32 _experimental_group_size = 19;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just moved this to keep the fields in order

@mwaskom mwaskom merged commit f7c347d into main Oct 6, 2024
21 checks passed
@mwaskom mwaskom deleted the michael/function-schedule-protos branch October 6, 2024 02:16
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