restate icon indicating copy to clipboard operation
restate copied to clipboard

Decouple ingress from PartitionStoreManager

Open tillrohrmann opened this issue 1 year ago • 1 comments

The Ingress has currently direct access to the PartitionStoreManager and all PartitionStores to read the invocation output: https://github.com/restatedev/restate/blob/3dc889771f3869e3e19a7f9beca4b1f85d991c4a/crates/worker/src/ingress_integration.rs#L43.

This won't work in the distributed setup anymore because we cannot assume that the ingress is colocated with all partition leaders. Instead, we need to enable the Ingress to lookup the leader for a given PartitionKey and then fetch the invocation output from it.

tillrohrmann avatar Aug 08 '24 10:08 tillrohrmann

This issue is related to #1651 since it refers to the communication between the ingress and the partition processor.

tillrohrmann avatar Aug 16 '24 07:08 tillrohrmann