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