-
Notifications
You must be signed in to change notification settings - Fork 1
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
RaftActor might delete committed entries #152
Comments
Related codes are the following: akka-entity-replication/src/main/scala/lerna/akka/entityreplication/raft/RaftMemberData.scala Lines 368 to 378 in abe3af9
akka-entity-replication/src/main/scala/lerna/akka/entityreplication/raft/RaftMemberData.scala Lines 405 to 418 in abe3af9
|
We've added some debug logs and diagnosed one RaftActor state change.
As the above logs, RaftActor deleted its log entries (including committed entries). |
RaftActor saves entire Instead, RaftActor should
or akka-entity-replication/src/main/scala/lerna/akka/entityreplication/raft/Follower.scala Lines 95 to 121 in f77939c
akka-entity-replication/src/main/scala/lerna/akka/entityreplication/raft/RaftMemberData.scala Lines 388 to 393 in f77939c
akka-entity-replication/src/main/scala/lerna/akka/entityreplication/raft/RaftActor.scala Lines 210 to 213 in f77939c
akka-entity-replication/src/main/scala/lerna/akka/entityreplication/raft/RaftMemberData.scala Lines 107 to 111 in f77939c
akka-entity-replication/src/main/scala/lerna/akka/entityreplication/raft/model/ReplicatedLog.scala Lines 82 to 85 in f77939c
|
The following errors happened when some failure-injection tests (like one AZ down):
The text was updated successfully, but these errors were encountered: