diff options
author | Felix Lange <fjl@twurst.com> | 2017-08-18 18:14:00 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2017-08-18 18:14:00 +0800 |
commit | 7e57fee3551ad5b66c985ad208613fd80c2d6b8a (patch) | |
tree | de1f4cd45dd0e727c0fba9fc84d14a324d70657b /common/test_utils.go | |
parent | 104375f398bdfca88183010cc3693e377ea74163 (diff) | |
download | dexon-7e57fee3551ad5b66c985ad208613fd80c2d6b8a.tar dexon-7e57fee3551ad5b66c985ad208613fd80c2d6b8a.tar.gz dexon-7e57fee3551ad5b66c985ad208613fd80c2d6b8a.tar.bz2 dexon-7e57fee3551ad5b66c985ad208613fd80c2d6b8a.tar.lz dexon-7e57fee3551ad5b66c985ad208613fd80c2d6b8a.tar.xz dexon-7e57fee3551ad5b66c985ad208613fd80c2d6b8a.tar.zst dexon-7e57fee3551ad5b66c985ad208613fd80c2d6b8a.zip |
node: fix instance dir locking and improve error message
The lock file was ineffective because opening leveldb storage in
read-only mode doesn't really take the lock. Fix it by including a
dedicated flock library (which is actually split out of goleveldb).
Diffstat (limited to 'common/test_utils.go')
0 files changed, 0 insertions, 0 deletions