I don’t know where but just recently I saw the same trace elements regarding long-lasting compaction errors (among other db routines):
goroutine 10 [select, 221 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc000146000)
C:/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190923125748-758128399b1d/leveldb/db_compaction.go:91 +0xd4
created by github.com/syndtr/goleveldb/leveldb.openDB
C:/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.1-0.20190923125748-758128399b1d/leveldb/db.go:148 +0x413
I first thought it wasn’t a cause, just the effect of a slow compaction process that is interrupted by shutdown/db closure, but maybe it is actually a problem.