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 while shrinking replication topic #15

Open
Luzifer opened this issue Sep 26, 2017 · 0 comments
Open

Panic while shrinking replication topic #15

Luzifer opened this issue Sep 26, 2017 · 0 comments

Comments

@Luzifer
Copy link

Luzifer commented Sep 26, 2017

time="2017-09-26T11:01:05+02:00" level=info msg="closing connection and reconnecting"
time="2017-09-26T11:01:09+02:00" level=info msg="error while reconnecting:connect was asked to stop"
time="2017-09-26T11:01:09+02:00" level=info msg="connecting to ZooKeeper ensemble **masked**:2181,**masked**:2181,**masked**:2181"
time="2017-09-26T11:01:09+02:00" level=info msg="creating node /admin/delete_topics/broker-3-health-check"
time="2017-09-26T11:01:14+02:00" level=info msg="Shrinking replication check topic to exclude broker 3"
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
github.com/andreas-schroeder/kafka-health-check/check.delAll(0xc42062e090, 0x4, 0x4, 0xc400000003, 0x1, 0x0, 0x0)
        /home/travis/gopath/src/github.com/andreas-schroeder/kafka-health-check/check/int32_slice.go:29 +0x162
github.com/andreas-schroeder/kafka-health-check/check.(*HealthCheck).deleteTopic(0xc4200ea000, 0x874360, 0xc42000e048, 0x0, 0x0, 0x72f414, 0x18, 0x0, 0x0, 0x0)
        /home/travis/gopath/src/github.com/andreas-schroeder/kafka-health-check/check/setup.go:304 +0x398
github.com/andreas-schroeder/kafka-health-check/check.(*HealthCheck).closeConnection(0xc4200ea000, 0x1)
        /home/travis/gopath/src/github.com/andreas-schroeder/kafka-health-check/check/setup.go:284 +0x261
github.com/andreas-schroeder/kafka-health-check/check.(*HealthCheck).CheckHealth(0xc4200ea000, 0xc420016540, 0xc4200165a0, 0xc420016360)
        /home/travis/gopath/src/github.com/andreas-schroeder/kafka-health-check/check/health_check.go:99 +0x941
main.main()
        /home/travis/gopath/src/github.com/andreas-schroeder/kafka-health-check/main.go:20 +0x150
time="2017-09-26T11:01:14+02:00" level=info msg="using topic broker-3-health-check for broker 3 health check"
time="2017-09-26T11:01:14+02:00" level=info msg="using topic broker-3-health-check for broker 3 replication check"
time="2017-09-26T11:01:19+02:00" level=info msg="found partition id 0 for broker 3 in topic \"broker-3-health-check\""
time="2017-09-26T11:01:19+02:00" level=info msg="found partition id 0 for broker 3 in topic \"broker-replication-check\""
time="2017-09-26T11:01:19+02:00" level=info msg="starting health check loop"
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