-
Notifications
You must be signed in to change notification settings - Fork 21
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
regression with (unreleased) 2.12.12-SNAPSHOT and akka-cluster 2.5.13 #12039
Comments
Testing with:
|
assuming this is also a 2.13.3 blocker unless/until I'm told otherwise |
Next step is to try to drop the old |
Does this same issue occur in 2.13? The problematic commit was 99% just the 2.13 code |
A solution here is for the user to upgrade to Akk 2.5.20 or higher. This includes the changes to be compatible with bug fixes in the 2.13.0 collections: akka/akka#26043
|
I guess its still an open question whether we try to be bug-compatible in this area for 2.12.12. |
So this is a question of which equal element is selected?
So the bug is in 2.13.2 (and in 2.12.x), or am I wrong? 2.12.11: scala> import collection.immutable._
scala> case class Foo(a: Int)(override val toString: String); object Foo {
| implicit val o: Ordering[Foo] = Ordering.by(_.a)
| }
scala> val x = Foo(1)("x")
scala> val y = Foo(1)("y")
scala> Set(x) ++ Set(y)
res0: scala.collection.immutable.Set[Foo] = Set(x)
scala> TreeSet(x) ++ Set(y)
res1: scala.collection.immutable.TreeSet[Foo] = TreeSet(x)
scala> TreeSet(x) ++ TreeSet(y)
res2: scala.collection.immutable.TreeSet[Foo] = TreeSet(x) 2.12.x and 2.13.2: scala> Set(x) ++ Set(y)
res0: scala.collection.immutable.Set[Foo] = Set(x)
scala> TreeSet(x) ++ Set(y)
res1: scala.collection.immutable.TreeSet[Foo] = TreeSet(x)
scala> TreeSet(x) ++ TreeSet(y)
res2: scala.collection.immutable.TreeSet[Foo] = TreeSet(y) |
akka.cluster.StreamRefMultiJvmNode3
More details to follow as they emerge...
The text was updated successfully, but these errors were encountered: