(to be reverted) add debug.PrintStack.
This commit is contained in:
parent
360194b29b
commit
f8c3756ac0
@ -4,6 +4,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"io"
|
||||
"runtime/debug"
|
||||
"sync/atomic"
|
||||
|
||||
"github.com/dgraph-io/badger/v2"
|
||||
@ -187,6 +188,9 @@ func (b *Blockstore) Get(cid cid.Cid) (blocks.Block, error) {
|
||||
return nil, ErrBlockstoreClosed
|
||||
}
|
||||
|
||||
fmt.Println("***** badger/blockstore.Get called:")
|
||||
debug.PrintStack()
|
||||
|
||||
k, pooled := b.PooledStorageKey(cid)
|
||||
if pooled {
|
||||
defer KeyPool.Put(k)
|
||||
|
Loading…
Reference in New Issue
Block a user