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

Akka.Cluster Group Routers don't respect role setting when running with allow-local-routees #3294

Closed
Aaronontheweb opened this issue Jan 24, 2018 · 1 comment

Comments

@Aaronontheweb
Copy link
Member

Version: Akka.NET v1.3.2

Behavior: where N = number of routees, the cluster appears to drop every N+1 message as undeliverable. Specifically, "not able to select matching routee." This is probably a modulo error inside the routing code. I've never seen this before in the wild, but have been able to replicate it with an end-user.

@Aaronontheweb Aaronontheweb added this to the 1.3.4 milestone Jan 24, 2018
@Aaronontheweb Aaronontheweb changed the title Akka.Cluster Group Router N+1 Error Akka.Cluster Group Routers don't respect role setting when running with allow-local-routees Jan 24, 2018
@Aaronontheweb
Copy link
Member Author

Not an N+1 error. The issue is this:

/tasker {
	router = consistent-hashing-group
	routees.paths = ["/user/api"]
	virtual-nodes-factor = 8
	cluster {
			enabled = on
			allow-local-routees = on
			use-role = tracker
	}
}    

I will still end up with a local routee even if the node that spawned this router is not of type "tracker"

@Aaronontheweb Aaronontheweb self-assigned this Jan 29, 2018
Aaronontheweb added a commit to Aaronontheweb/akka.net that referenced this issue Jan 29, 2018
Aaronontheweb added a commit that referenced this issue Feb 1, 2018
* fixed bug in UseRoleIgnoredSpec

* close #3294 - fixed usages of GetPaths inside all Group router implementations
Aaronontheweb added a commit that referenced this issue Feb 19, 2018
* fixed bug in UseRoleIgnoredSpec

* close #3294 - fixed usages of GetPaths inside all Group router implementations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant