氮SR3负载中缺少opendaylight分片

时间:2018-07-30 23:52:33

标签: karaf opendaylight

我们正在使用氮气SR3封装,并且已定制2节点集群。将群集浸泡2或3天后。我们注意到了NoShardleaderException。我们还检查了JMX,发现Distributed Data存储中的“ default-”配置和“ default-operational”分片不存在。 您能否让我们知道碎片突然丢失的可能原因?

更新:

在karaf.log中注意到以下异常

018-07-09 12:31:11,000 |错误| lt-dispatcher-15 | 219-com.typesafe.akka.slf4j-2.4.7 | Slf4jLogger $$ anonfun $ receive $ 1 $ anonfun $ applyOrElse $ 1 | 无法持久化具有持久性[member-1-shard-default-config]的序列号[13058670]的事件类型[org.opendaylight.controller.cluster.raft.ReplicatedLogImplEntry]。 akka.pattern.CircuitBreaker $$ anon $ 1:断路器超时。 2018-07-09 12:31:11,000 |错误| lt-dispatcher-15 | 219-com.typesafe.akka.slf4j-2.4.7 | Slf4jLogger $$ anonfun $ receive $ 1 $ anonfun $ applyOrElse $ 1 |无法为persistenceId [member-1-shard-default-config]保留序列号为[13058670]的事件类型[org.opendaylight.controller.cluster.raft.ReplicatedLogImplEntry]。 akka.pattern.CircuitBreaker $$ anon $ 1:断路器超时。

2018-07-19 02:03:14,687 |警告| t-dispatcher-172 | 505-org.opendaylight.controller.sal-distributed-datastore-1.6.3 | ActorContext 4美元|广播未能将消息CloseTransactionChain发送给分片默认值:{} org.opendaylight.controller.cluster.datastore.exceptions.NoShardLeaderException: Shard member-2-shard-default-config当前没有领导者。稍后再试。     在org.opendaylight.controller.cluster.datastore.shardmanager.ShardManager.createNoShardLeaderException(ShardManager.java:955)[505:org.opendaylight.controller.sal-distributed-datastore:1.6.3]     在org.opendaylight.controller.cluster.datastore.shardmanager.ShardManager.onShardNotInitializedTimeout(ShardManager.java:787)[505:org.opendaylight.controller.sal-distributed-datastore:1.6.3]     在org.opendaylight.controller.cluster.datastore.shardmanager.ShardManager.handleCommand(ShardManager.java:254)[505:org.opendaylight.controller.sal-distributed-datastore:1.6.3]     在org.opendaylight.controller.cluster.common.actor.AbstractUntypedPersistentActor.onReceiveCommand(AbstractUntypedPersistentActor.java:44)[498:org.opendaylight.controller.sal-clustering-commons:1.6.3]     在akka.persistence.UntypedPersistentActor.onReceive(PersistentActor.scala:170)[322:com.typesafe.akka.persistence:2.4.20]     在org.opendaylight.controller.cluster.common.actor.MeteringBehavior.apply(MeteringBehavior.java:104)[498:org.opendaylight.controller.sal-clustering-commons:1.6.3]     at akka.actor.ActorCell $$ anonfun $ become $ 1.applyOrElse(ActorCell.scala:544)[317:com.typesafe.akka.actor:2.4.20]     at akka.actor.Actor $ class.aroundReceive(Actor.scala:502)[317:com.typesafe.akka.actor:2.4.20]     at akka.persistence.UntypedPersistentActor.akka $ persistence $ Eventsourced $$ super $ aroundReceive(PersistentActor.scala:168)[322:com.typesafe.akka.persistence:2.4.20]     at akka.persistence.Eventsourced $$ anon $ 1.stateReceive(Eventsourced.scala:727)[322:com.typesafe.akka.persistence:2.4.20]     在akka.persistence.Eventsourced $ class.aroundReceive(Eventsourced.scala:183)[322:com.typesafe.akka.persistence:2.4.20]     在akka.persistence.UntypedPersistentActor.aroundReceive(PersistentActor.scala:168)[322:com.typesafe.akka.persistence:2.4.20]     在akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)[317:com.typesafe.akka.actor:2.4.20]     在akka.actor.ActorCell.invoke(ActorCell.scala:495)[317:com.typesafe.akka.actor:2.4.20]     在akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)[317:com.typesafe.akka.actor:2.4.20]     在akka.dispatch.Mailbox.run(Mailbox.scala:224)[317:com.typesafe.akka.actor:2.4.20]     在akka.dispatch.Mailbox.exec(Mailbox.scala:234)[317:com.typesafe.akka.actor:2.4.20]     在scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[616:org.scala-lang.scala-library:2.11.12.v20171031-225310-b8155a5502]     在scala.concurrent.forkjoin.ForkJoinPool $ WorkQueue.runTask(ForkJoinPool.java:1339)[616:org.scala-lang.scala-library:2.11.12.v20171031-225310-b8155a5502]     在scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[616:org.scala-lang.scala-library:2.11.12.v20171031-225310-b8155a5502]     在scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[616:org.scala-lang.scala-library:2.11.12.v20171031-225310-b8155a5502]

1 个答案:

答案 0 :(得分:0)

这听起来像是碎片演员的异常,而akka杀死了演员。在日志中查找异常。