You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I deploy EPaxos in a cluster of size 13, I get the following error. It seems like the array that is causing the error is hard coded to 5 replicas.
Any ideas about how to fix this?
panic: runtime error: index out of range [5] with length 5
goroutine 79 [running]:
epaxos.(*Replica).startPhase1(0xc000436000?, 0x1e150?, 0xc0?, 0x316d80?, {0xc00019ca80?, 0xc00017bdc8?, 0xc00017be88?}, 0xc0001f0000, 0x64, 0x64}, ...)
/home/pasindu/Documents/epaxos/src/epaxos/epaxos.go:845 +0x4ca
epaxos.(*Replica).handlePropose(0xc0000d8280, 0xc000115d40)
/home/pasindu/Documents/epaxos/src/epaxos/epaxos.go:826 +0x267
epaxos.(*Replica).run(0xc0000d8280)
/home/pasindu/Documents/epaxos/src/epaxos/epaxos.go:314 +0x6eb
created by epaxos.NewReplica
/home/pasindu/Documents/epaxos/src/epaxos/epaxos.go:184 +0x136a
Thanks
The text was updated successfully, but these errors were encountered:
When I deploy EPaxos in a cluster of size 13, I get the following error. It seems like the array that is causing the error is hard coded to 5 replicas.
Any ideas about how to fix this?
Thanks
The text was updated successfully, but these errors were encountered: