Skip to content

Instantly share code, notes, and snippets.

View DennisVDB's full-sized avatar

Dennis van der Bij DennisVDB

View GitHub Profile
[info] Compiling 49 Scala sources to /Users/dennis/Documents/Programming/scala/cats/kernel/.jvm/target/scala-2.12/classes ...
[info] Done compiling.
[info] Compiling 3 Scala sources to /Users/dennis/Documents/Programming/scala/cats/kernel/.jvm/target/scala-2.12/test-classes ...
[error] /Users/dennis/Documents/Programming/scala/cats/kernel/.jvm/target/scala-2.12/src_managed/test/cats/kernel/GroupDoctest.scala:16:17: object implicits is not a member of package cats
[error] import cats.implicits._
[error] ^
[error] /Users/dennis/Documents/Programming/scala/cats/kernel/.jvm/target/scala-2.12/src_managed/test/cats/kernel/GroupDoctest.scala:19:33: could not find implicit value for parameter ev: cats.kernel.Group[Int]
[error] sbtDoctestTypeEquals(Group[Int].inverse(5))((Group[Int].inverse(5)): Int)
[error] ^
[error] /Users/dennis/Documents/Programming/scala/cats/kernel/.jvm/target/scala-2.12/src_managed/test/cats/kernel/GroupDoctest.scala:19:57: could not fin
package benchmarks
import java.util.concurrent.TimeUnit
import org.openjdk.jmh.annotations._
@BenchmarkMode(Array(Mode.AverageTime))
@OutputTimeUnit(TimeUnit.MICROSECONDS)
@State(Scope.Thread)
class FusionBench {

Keybase proof

I hereby claim:

  • I am dennisvdb on github.
  • I am dennisvdb (https://keybase.io/dennisvdb) on keybase.
  • I have a public key ASCnuEeS06BM4aT5Gqh08ev63p0AuEQZbEiBSW6wgiepRAo

To claim this, I am signing this object:

@DennisVDB
DennisVDB / gist:bcf314647b66114805ea5eb83fe2ab49
Last active May 18, 2020 17:28
Cluster sharding blocked rebalancing logs
May 5th 2020, 15:14:23.711 +00:00 WARN Cluster Node [akka://service@10.2.37.26:25520] - Marking node as UNREACHABLE [Member(address = akka://service@10.2.15.252:25520, status = Up)]. akka.cluster.Cluster akka://service@10.2.37.26:25520
May 5th 2020, 15:14:24.511 +00:00 WARN Cluster Node [akka://service@10.2.21.101:25520] - Marking node as UNREACHABLE [Member(address = akka://service@10.2.15.252:25520, status = Up)]. akka.cluster.Cluster akka://service@10.2.21.101:25520
May 5th 2020, 15:14:24.586 +00:00 INFO Cluster Node [akka://service@10.2.21.101:25520] - is the new leader among reachable nodes (more leaders may exist) akka.cluster.Cluster akka://service@10.2.21.101:25520
May 5th 2020, 15:14:28.606 +00:00 INFO Cluster Node [akka://service@10.2.15.252:25520] - Starting up, Akka version [2.6.4] ... akka.cluster.Cluster akka://service@10.2.15.252:25520
May 5th 2020, 15:14:29.427 +00:00 INFO Cluster Node [akka://service@10.2.15.252:25520] - Registered cluster JMX MBean [akka:type=Cluster] akka.cluster.Cluster ak
@DennisVDB
DennisVDB / gist:053f941c3f025150dffbe83a6650230c
Created January 15, 2021 12:11
Akka SBR acting on decision at every tick
January 14th 2021, 12:16:36.166+00:00 akka://service@10.1.36.60:2552 Cluster Node [akka://service@10.1.36.60:2552] - Marked address [akka://service@10.1.36.60:2552] as [Leaving]
January 14th 2021, 12:16:37.282+00:00 akka://service@10.1.23.55:2552 Cluster Node [akka://service@10.1.23.55:2552] - Leader is moving node [akka://service@10.1.36.60:2552] to [Exiting]
January 14th 2021, 12:16:37.283+00:00 akka://service@10.1.23.55:2552 SBR found unreachable members, waiting for stable-after = 10000 ms before taking downing decision. Now 1 unreachable members found. Downing decision will not be made before 2021-01-14T12:16:47.282854Z.
January 14th 2021, 12:16:47.577+00:00 akka://service@10.1.23.55:2552 SBR acquired lease for decision [AcquireLeaseAndDownUnreachable(0 days)]
January 14th 2021, 12:16:47.586+00:00 akka://service@10.1.23.55:2552 SBR took decision AcquireLeaseAndDownUnreachable(0 days) and is downing [], [1] unreachable of [3] members, all members in DC [Member(akka://service@