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

Panic when preparing fails #139

Open
zyga opened this issue Nov 19, 2021 · 0 comments
Open

Panic when preparing fails #139

zyga opened this issue Nov 19, 2021 · 0 comments

Comments

@zyga
Copy link
Contributor

zyga commented Nov 19, 2021

When there are multiple systems and some have not yet started to prepare but one already failed and prepare folds, spread may panic.

panic: attempting to unreserve a system that is not reserved: localhost:59315

goroutine 44 [running]:
github.com/snapcore/spread/spread.(*Runner).unreserve(0xc0001cf8c0, 0xc00041c1b0, 0xf)
        /home/zyga/projects/spread/spread/runner.go:971 +0x1ad
github.com/snapcore/spread/spread.(*Runner).discardServer(0xc0001cf8c0, 0x8d2080, 0xc000420420)
        /home/zyga/projects/spread/spread/runner.go:857 +0x21d
github.com/snapcore/spread/spread.(*Runner).worker(0xc0001cf8c0, 0xc00016c000, 0xc0000da630, 0xc000312b60, 0x1a, 0x1a)
        /home/zyga/projects/spread/spread/runner.go:673 +0x12d5
created by github.com/snapcore/spread/spread.(*Runner).loop
        /home/zyga/projects/spread/spread/runner.go:232 +0x701
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