Closed garethjames-imburse closed 2 years ago
Thanks @garethjames-imburse - we will investigate. Thanks for providing a clear reproduction for us.
@garethjames-imburse We've fixed this issue, however, to fully fix it, we will need to do an Akka.NET release first. The fix depends on a change in Akka.NET code here: https://github.com/akkadotnet/akka.net/pull/5684 The fix will be in effect on the next Phobos release after the next Akka.NET release.
Thanks @Arkatufus - I'll keep an eye out for the new versions.
@garethjames-imburse
The new version of Phobos with the fix is up, there is a small caveat that you need to call the new PipeTo
overload and the Ask
method need to be inside an async method, even when you're not awaiting it. Please read the release note for a code example.
Documentation on how to do what @Arkatufus said is available here:
Thanks @Aaronontheweb and @Arkatufus - much appreciated.
We've discovered an issue in Phobos (1.4.0 and 1.4.1) that can be seen in Jaeger when using the Ask().PipeTo() method:
We see a span for the actor that's asking, and the next span comes with a warning: "invalid parent span IDs=effe6a359f66ddc6; skipping clock skew adjustment".
However, if we modify the code to use async/await instead, it works fine: