We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
db.Stats()
db.Close()
There appears to be a panic bug/race during db.Close() + db.Stat().
db.Stat()
I think the core invariant break is documented here:
MVP test which panics:
package leveldbtest import ( "testing" "github.com/syndtr/goleveldb/leveldb/cache" ) func TestLRUCache_GetStatsAfterClose(t *testing.T) { c := cache.NewCache(cache.NewLRU(2)) c.Close(false) _ = c.GetStats() // panics }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There appears to be a panic bug/race during
db.Close()
+db.Stat()
.db.Stat()
is make sure the db isn't closed: https://github.com/syndtr/goleveldb/blob/master/leveldb/db.go#L1075-L1078I think the core invariant break is documented here:
MVP test which panics:
The text was updated successfully, but these errors were encountered: