Skip to content
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

Bug in scalability tests: index out of range [5] #24

Open
PasinduTennage opened this issue Apr 12, 2023 · 0 comments
Open

Bug in scalability tests: index out of range [5] #24

PasinduTennage opened this issue Apr 12, 2023 · 0 comments

Comments

@PasinduTennage
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant