Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phobos 2.7.0: Sharding can't deliver messages wrapped in ShardingEnvelope when remember-entities is enabled #84

Open
Aaronontheweb opened this issue Jan 9, 2025 · 1 comment
Labels
actor-integration 📬 Integration with Akka.NET runtime bug Something isn't working

Comments

@Aaronontheweb
Copy link
Member

Changes

We're running into an issue with Phobos 2.7.0 under the following conditions:

  1. remember-entities is enabled for a given ShardRegion;
  2. Phobos tracing is enabled; and
  3. The entity actors are being messaged using a ShardingEnvelope

When all three of these conditions are true - the entity actor ends up receiving a ShardingEnvelope instead of the payload inside the ShardingEnvelope, thus the message gets logged as Unhandled.

I believe this is a side-effect of how we're trying to preserve shard tracing, using our SpanEnvelope type internally.

@Aaronontheweb
Copy link
Member Author

Have a reproduction at akkadotnet/akka.net#7452

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actor-integration 📬 Integration with Akka.NET runtime bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant