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: interface conversion: interface {} is nil, not *statistics.Table #45946

Closed
Tracked by #41316
hawkingrei opened this issue Aug 9, 2023 · 0 comments · Fixed by #45949
Closed
Tracked by #41316

panic: interface conversion: interface {} is nil, not *statistics.Table #45946

hawkingrei opened this issue Aug 9, 2023 · 0 comments · Fixed by #45949
Labels
component/test severity/major type/bug The issue is confirmed as a bug.

Comments

@hawkingrei
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

2. What did you expect to see? (Required)

3. What did you see instead (Required)

panic: interface conversion: interface {} is nil, not *statistics.Table
goroutine 234846 [running]:
[github.com/pingcap/tidb/statistics/handle/cache/internal/lfu.(*LFU).onEvict](http://github.com/pingcap/tidb/statistics/handle/cache/internal/lfu.(*LFU).onEvict)(0xc0713f33f8, 0xc01c5e1680)
        statistics/handle/cache/internal/lfu/lfu_cache.go:123 +0x1be
[github.com/dgraph-io/ristretto.NewCache.func2(0xc01c5e1680)](http://github.com/dgraph-io/ristretto.NewCache.func2(0xc01c5e1680))
        external/com_github_dgraph_io_ristretto/cache.go:188 +0x31
[github.com/dgraph-io/ristretto.(*Cache).processItems.func2(0xc01c5e1680)](http://github.com/dgraph-io/ristretto.(*Cache).processItems.func2(0xc01c5e1680))
        external/com_github_dgraph_io_ristretto/cache.go:447 +0xb7
[github.com/dgraph-io/ristretto.(*Cache).processItems(0xc00619c000)](http://github.com/dgraph-io/ristretto.(*Cache).processItems(0xc00619c000))
        external/com_github_dgraph_io_ristretto/cache.go:479 +0x3ae
created by [github.com/dgraph-io/ristretto.NewCache](http://github.com/dgraph-io/ristretto.NewCache) in goroutine 209915
        external/com_github_dgraph_io_ristretto/cache.go:207 +0x645

4. What is your TiDB version? (Required)

@hawkingrei hawkingrei added the type/bug The issue is confirmed as a bug. label Aug 9, 2023
@ti-chi-bot ti-chi-bot bot added may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 labels Aug 10, 2023
@seiya-annie seiya-annie removed may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 labels Aug 10, 2023
ti-chi-bot bot pushed a commit that referenced this issue Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/test severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants