This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 440
Rolling update steps for Classic -> Typed Sharding #110
Open
patriknw
wants to merge
9
commits into
2.6
Choose a base branch
from
wip-rolling-update-typed-patriknw
base: 2.6
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Nov 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4344cf2 - Browse repository at this point
Copy the full SHA 4344cf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ee737c - Browse repository at this point
Copy the full SHA 6ee737cView commit details -
* update to Akka 2.6.x first * and add dependeny `akka-cluster-sharding-typed` although the actors remain untyped in first rollout * define akka.cluster.sharding.number-of-shards config * same value as you have used previously for number of shards * same value as you will use for Typed * otherwise Typed node will not be able to join in roll 2 * add akka.cluster.sharding.typed.ShardingEnvelope to message extractor * sender and ask * add replyTo ActorRef to the messages that are using sender for the reply * change from `akka.pattern.ask` to `akka.pattern.extended.ask` to populate the replyTo field in the messages * use the replyTo field instead of sender() unless it is null
Configuration menu - View commit details
-
Copy full SHA for 359e08d - Browse repository at this point
Copy the full SHA 359e08dView commit details -
* convert actors to Typed * use custom ShardingMessageExtractor in ClusterSharding.init * use same akka.cluster.sharding.number-of-shards config as was in roll 1
Configuration menu - View commit details
-
Copy full SHA for 0ceac95 - Browse repository at this point
Copy the full SHA 0ceac95View commit details -
Configuration menu - View commit details
-
Copy full SHA for b27976b - Browse repository at this point
Copy the full SHA b27976bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba48a34 - Browse repository at this point
Copy the full SHA ba48a34View commit details -
* update to Akka 2.6.x first * and add dependeny `akka-cluster-sharding-typed` although the actors remain untyped in first rollout * define akka.cluster.sharding.number-of-shards config * same value as you have used previously for number of shards * same value as you will use for Typed * otherwise Typed node will not be able to join in roll 2 * add akka.cluster.sharding.typed.ShardingEnvelope to message extractor * sender and ask * add replyTo ActorRef to the messages that are using sender for the reply * change from `akka.pattern.Patterns.ask` to `akka.pattern.Patterns.askWithReply` to populate the replyTo field in the messages * use the replyTo field instead of getSender() unless it is null
Configuration menu - View commit details
-
Copy full SHA for 47bf16a - Browse repository at this point
Copy the full SHA 47bf16aView commit details -
* convert actors to Typed * use custom ShardingMessageExtractor in ClusterSharding.init * use same akka.cluster.sharding.number-of-shards config as was in roll 1
Configuration menu - View commit details
-
Copy full SHA for b415647 - Browse repository at this point
Copy the full SHA b415647View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc25a53 - Browse repository at this point
Copy the full SHA dc25a53View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.