restate icon indicating copy to clipboard operation
restate copied to clipboard

No-op to idempotency table when table is empty on boot

Open slinkydeveloper opened this issue 11 months ago • 1 comments

Completely disable codepaths using IdempotencyTable when the key space of idempotency table is empty. We can do so because in the next release, no one will write to the idempotency table key space anymore, so if the table is empty will remain empty for the rest of the execution.

We can probably add a check for that when initializing the PartitionStore.

Essentially like https://github.com/restatedev/restate/issues/2186 for idempotency table

slinkydeveloper avatar Mar 24 '25 08:03 slinkydeveloper

If no one is solving it, I'd like to try

zhaohaidao avatar Mar 25 '25 04:03 zhaohaidao