Allow cluster formation with mixed protocols#1567
Conversation
pjfanning
left a comment
There was a problem hiding this comment.
thanks @sadekmunawar - this looks like a necessary change
raboof
left a comment
There was a problem hiding this comment.
Another great observation, and thanks for also adding a test!
|
(I'll backport) |
|
@sadekmunawar do you think doing a release with your changes is a good idea or are you in the middle of testing mixed clusters and feel like you might find more issues? |
@pjfanning I had to make one more change for the migration. I'll create a PR by the end of the week. Once that's merged, I think a release can be done. |
|
@sadekmunawar any news on progress? If you don't have time to create a PR for the remaining issue, could you give us some pointers so someone else could create the PR instead? |
|
@pjfanning There are two missing pieces left:
While this all that's necessary for the rolling upgrade support, I tried to find a better approach for the second problem. See this commit. I haven't had the chance to integration test this approach, yet. It should fix the exception issue, but it likely sends configs with Pekko paths to Akka nodes here |
|
|
||
| import org.apache.pekko.testkit.{ LongRunningTest, PekkoSpec } | ||
|
|
||
| object MixedProtocolClusterSpec { |
There was a problem hiding this comment.
this test doesn't work in the nightly build CI job and the change breaks many other cluster tests too
Rolling upgrade from Akka to Pekko requires cluster formation with mixed protocol nodes. If the config
accept-protocol-namescontains both "akka" and "pekko", nodes using either protocol should be able join the same cluster.Relates to #765