Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Untyped API] ReplicationActor reports a lot of unhandled event (NoOp) #76

Open
@negokaz

Description

RaftActor sends NoOp to ReplicationActor however receiveReplica may not handle the event because users are not interested in the event.

Users show a lot of warnings that is produced by following the method

 private[this] def innerApplyEvent(event: Any, logEntryIndex: LogEntryIndex): Unit = {
 if (logEntryIndex > lastAppliedLogEntryIndex) {
 receiveReplica.applyOrElse[Any, Unit](
 event,
 event => {
 log.warning("unhandled {} by receiveReplica", event)
 },
 )
 lastAppliedLogEntryIndex = logEntryIndex
 }
 }

akka-entity-replication/ReplicationActor.scala at v1.0.0 · lerna-stack/akka-entity-replication

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /