-
Notifications
You must be signed in to change notification settings - Fork 1
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
Disabling specific raft actor's launching by its own shard id #173
Disabling specific raft actor's launching by its own shard id #173
Conversation
…rts are triggered by ReplicationRegionRaftActorStarter
…tor's starts are triggered by ReplicationRegionRaftActorStarter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
I left some comments.
As same as RaftActor
, CommitLogStoreActor
also should stop itself if its shard ID is disabled. Would it be possible also to change CommitLogStoreActor
? CommitLogStoreActor
can use its shardId
method to get its shard ID.
src/main/scala/lerna/akka/entityreplication/ReplicationRegion.scala
Outdated
Show resolved
Hide resolved
src/main/scala/lerna/akka/entityreplication/ReplicationRegion.scala
Outdated
Show resolved
Hide resolved
src/multi-jvm/scala/lerna/akka/entityreplication/ReplicationRegionSpec.scala
Outdated
Show resolved
Hide resolved
src/main/scala/lerna/akka/entityreplication/raft/RaftSettings.scala
Outdated
Show resolved
Hide resolved
I implemented feature of stopping itself to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! LGTM 👍
Add feature of disabling raft actor's launching by specifying its own shard id.
Ignore following launching trigger of RaftActor
ReplicationRegionRaftActorStarter
ReplicationRegion
RaftActor