You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "hanahmily (via GitHub)" <gi...@apache.org> on 2024/02/29 05:23:33 UTC

[I] [Bug] Panic when closing banyand [skywalking]

hanahmily opened a new issue, #11957:
URL: https://github.com/apache/skywalking/issues/11957

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Apache SkyWalking Component
   
   BanyanDB (apache/skywalking-banyandb)
   
   ### What happened
   
   The Banyand server experienced a panic while closing.
   
   
   ```console
   │ panic: interface conversion: interface is nil, not io.Closer                                                                                                 │
   │                                                                                                                                                              │
   │ goroutine 44803 [running]:                                                                                                                                   │
   │ github.com/apache/skywalking-banyandb/pkg/schema.(*group).SupplyTSDB(0x109d537404?)                                                                          │
   │     /src/pkg/schema/metadata.go:428 +0x5c                                                                                                                    │
   │ github.com/apache/skywalking-banyandb/banyand/measure.(*schemaRepo).loadTSDB(0x0?, {0xc003108f50, 0xe})                                                      │
   │     /src/banyand/measure/metadata.go:322 +0x36                                                                                                               │
   │ github.com/apache/skywalking-banyandb/banyand/measure.(*writeCallback).handle(0xc001ded9a0, 0xc001ce5d18?, 0xc003c97a40)                                     │
   │     /src/banyand/measure/write.go:61 +0x1da                                                                                                                  │
   │ github.com/apache/skywalking-banyandb/banyand/measure.(*writeCallback).Rev(0xc001ded9a0, {{0x12dc380, 0xc002e0af48}, {0x159bb18, 0x5}, 0x1, 0x0})            │
   │     /src/banyand/measure/write.go:237 +0x309                                                                                                                 │
   │ github.com/apache/skywalking-banyandb/pkg/bus.(*Bus).Subscribe.func1({0x1a05fe0, 0xc001ded9a0}, 0xc00262ccd0?)                                               │
   │     /src/pkg/bus/bus.go:273 +0xfd                                                                                                                            │
   │ created by github.com/apache/skywalking-banyandb/pkg/bus.(*Bus).Subscribe in goroutine 1                                                                     │
   │     /src/pkg/bus/bus.go:269 +0x28a 
   ```
   
   ### What you expected to happen
   
   Banyand should close successfully without any error or panic.
   
   ### How to reproduce
   
   To close the server that is currently experiencing a heavy load of write requests.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] Panic when closing banyand [skywalking]

Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng closed issue #11957: [Bug] Panic when closing banyand
URL: https://github.com/apache/skywalking/issues/11957


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org