You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if metadata.invocation_target.invocation_target_ty()
I propose to add a new field to ServiceInvocation, e.g. locking_semantics, that is optional and when present, enables the usage of the exclusive service lock and of the inbox. The first variants would be:
This new field would then be used by the virtual object exclusive handlers, replacing the current coupling to invocation target, and by #1299 as well.
It might turn out to be useful for #12 too, if we add another variant ReplaceExistingOne or similar.
The text was updated successfully, but these errors were encountered:
Right now we couple the inbox usage in the partition processor to the invocation target, see
restate/crates/worker/src/partition/state_machine/mod.rs
Line 630 in 674501a
I propose to add a new field to
ServiceInvocation
, e.g.locking_semantics
, that is optional and when present, enables the usage of the exclusive service lock and of the inbox. The first variants would be:Names to be defined/open to suggestions.
This new field would then be used by the virtual object exclusive handlers, replacing the current coupling to invocation target, and by #1299 as well.
It might turn out to be useful for #12 too, if we add another variant
ReplaceExistingOne
or similar.The text was updated successfully, but these errors were encountered: