These are chat archives for atomix/atomix

7th
Jun 2016
Tom
@taobaorun
Jun 07 2016 10:02
This message was deleted
Tom
@taobaorun
Jun 07 2016 10:11
This message was deleted
Tom
@taobaorun
Jun 07 2016 10:20
hi,this exception will affect the cluster?
java.lang.IndexOutOfBoundsException: inconsistent index: 5691243
    at io.atomix.catalyst.util.Assert.index(Assert.java:45) ~[catalyst-common-1.1.1.jar:na]
    at io.atomix.copycat.server.storage.Segment.append(Segment.java:287) ~[classes/:na]
    at io.atomix.copycat.server.storage.Log.append(Log.java:294) ~[classes/:na]
    at io.atomix.copycat.server.state.ActiveState.appendEntries(ActiveState.java:104) ~[classes/:na]
    at io.atomix.copycat.server.state.ActiveState.checkPreviousEntry(ActiveState.java:90) ~[classes/:na]
    at io.atomix.copycat.server.state.PassiveState.checkGlobalIndex(PassiveState.java:154) ~[classes/:na]
    at io.atomix.copycat.server.state.PassiveState.handleAppend(PassiveState.java:130) ~[classes/:na]
    at io.atomix.copycat.server.state.ActiveState.append(ActiveState.java:49) ~[classes/:na]
18:20:24.614 [copycat-server-/127.0.0.1:8891-copycat] WARN  i.a.c.server.state.LeaderAppender - /127.0.0.1:8891 - AppendRequest to /127.0.0.1:8890 failed. Reason: request timed out
18:20:51.316 [copycat-server-/127.0.0.1:8891-copycat] WARN  i.a.c.server.state.LeaderAppender - /127.0.0.1:8891 - AppendRequest to /127.0.0.1:8890 failed. Reason: request timed out
18:20:51.316 [copycat-server-/127.0.0.1:8891-copycat] WARN  i.a.c.server.state.LeaderAppender - /127.0.0.1:8891 - AppendRequest to /127.0.0.1:8890 failed. Reason: connection closed
the 8890 port server is ok
Jordan Halterman
@kuujo
Jun 07 2016 18:24
@taobaorun this has been run in to in the past, but for the most part it has been resolved. This is a serious bug as it implies a corrupt log index. How is your log configured? Are you using StorageLevel.DISK? Are you running in a real cluster? If not, are the logs on each server configured for different directories?
I've seen this most recently with StorageLevel.MAPPED, but only under very high throughput