Branch: refs/heads/master
Home: https://github.com/btcsuite/btcwallet
Commit: d2c851431ba5bffa32cf806e76ba9ca4b5043e5d
https://github.com/btcsuite/btcwallet/commit/d2c851431ba5bffa32cf806e76ba9ca4b5043e5d
Author: Josh Rickmar <[email protected]>
Date: 2016-04-05 (Tue, 05 Apr 2016)
Changed paths:
M walletdb/bdb/db.go
Log Message:
-----------
Rollback namespace transactions when bucket is not found.
This fixes a deadlock where failed transactions due to the namespaces'
bucket being missing would cause deadlocks due to bolt's mmap rwmutex
still being read or write locked (and no way to unlock it, since the
underlying bolt tx was not returned on failure).