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

Remove EndpointMetadata.delivery_options.retry_policy #570

Merged
merged 2 commits into from
Jul 10, 2023

Conversation

slinkydeveloper
Copy link
Contributor

@slinkydeveloper slinkydeveloper commented Jul 6, 2023

Fix #569, based on #559. Needs restatedev/e2e#165

Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

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

LGTM. +1 for merging.

@@ -791,7 +791,7 @@ where
partition: PartitionLeaderEpoch,
service_invocation_id: ServiceInvocationId,
journal: InvokeInputJournal,
state_machine_factory: impl FnOnce(RetryPolicy) -> InvocationStateMachine,
mut ism: InvocationStateMachine,
Copy link
Contributor

Choose a reason for hiding this comment

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

I am really bad with abbreviations. I'd say either you establish this abbreviation or we'll name it invocation_state_machine.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This abbreviation is already used all around the codebase of the invoker, and the reason i named it this way here is to be consistent.

Copy link
Contributor

Choose a reason for hiding this comment

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

Fair enough. In the future I would suggest to spell things out since we should optimize for reading and not for writing.

src/invoker/src/service/mod.rs Outdated Show resolved Hide resolved
@slinkydeveloper slinkydeveloper merged commit 4e54fe5 into restatedev:main Jul 10, 2023
@slinkydeveloper slinkydeveloper deleted the issues/569 branch July 10, 2023 08:34
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.

Remove EndpointMetadata.delivery_options.retry_policy
2 participants