restate icon indicating copy to clipboard operation
restate copied to clipboard

Deterministic InvocationId for idempotent requests and workflow run requests

Open slinkydeveloper opened this issue 1 year ago • 0 comments

Generate a deterministic invocation id for idempotent requests and workflow runs.

This removes the need for:

  • ~~The ingress SubmitNotification~~
  • The IdempotencyTable
  • The usage of the VirtualObjectStatus table for workflow runs
### Tasks
- [x] Implement the deterministic Invocation ID https://github.com/restatedev/restate/pull/1996
- [ ] Transition away usage of `IdempotencyTable`, by feature gating writes to `IdempotencyTable`, and adding queries directly using `InvocationId` for deduplication (and attach/get output implementations too)
- [ ] Transition away usage of `VirtualObjectStatus` for workflows, by feature gating writes, and adding queries directly using `InvocationId` for deduplication (and attach/get output implementations too)

slinkydeveloper avatar Sep 25 '24 14:09 slinkydeveloper