restate
restate copied to clipboard
Restate logs wrong invocation id when invoking idempotently
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.
I think the underlying problem is that we create the respective span before resolving the idempotency key.