restate icon indicating copy to clipboard operation
restate copied to clipboard

Restate logs wrong invocation id when invoking idempotently

Open tillrohrmann opened this issue 1 year ago • 0 comments

Restate logs wrong invocation id when invoking a service idempotently.

In the screenshot I am invoking the same greeter/greet handler idempotently. However, we see that the second invocation gets logged under inv_1iT08xnzMySz25GCcmPvco7Dpd0gqbhdER instead of inv_1iT08xnzMySz6kdFGE6wSorG5QSjmGk83D.

Screenshot 2024-06-17 at 11 44 08

I think the underlying problem is that we create the respective span before resolving the idempotency key.

tillrohrmann avatar Jun 17 '24 09:06 tillrohrmann