bitcoind-0.7.0.3 -loadblock flushing wallet.dat like crazy after block 193002 #1887

Closed
sdsdalr opened this Issue Sep 29, 2012 · 3 comments

Comments

Projects
None yet
4 participants

sdsdalr commented Sep 29, 2012

I'm currently importing the blockchain .dat files from http://eu1.bitcoincharts.com/blockchain/ using

bitcoind -loadblock=/var/lib/bitcoin/blockchain/blk0001.dat -loadblock=/var/lib/bitcoin/blockchain/blk0002.dat -detachdb

This has been running for two days (it's a very slow computer), and I noticed that since block 193002, bitcoind 0.7.0.3 is flushing wallet.dat after almost every imported block (before that, there's only one flush after block 225). I'm not sure what's going on here. It's a fresh ~/.bitcoin profile. I think block 193002 comes around the time blk0001.dat filled up and it switched to blk0002.dat, maybe that triggered something in the bitcoin-wallet thread? (There's a comment "// Don't do this if any databases are in use" in walletdb.cpp, but I'm not familiar enough with the code.)

This comment has been minimized.

Show comment Hide comment
@sdsdalr

sdsdalr Sep 29, 2012

Shortened debug.log: https://gist.github.com/3803884
For clarification, it's now at block 194379 and the flushing continues.

sdsdalr commented Sep 29, 2012

Shortened debug.log: https://gist.github.com/3803884
For clarification, it's now at block 194379 and the flushing continues.

This comment has been minimized.

Show comment Hide comment
@hjfreyer

hjfreyer May 22, 2013

I'm seeing the same issue in 0.8.1 after block 225431.

I'm seeing the same issue in 0.8.1 after block 225431.

This comment has been minimized.

Show comment Hide comment
@sipa

sipa May 22, 2013

Owner

Should be fixed in git head / 0.8.2rc2

Owner

sipa commented May 22, 2013

Should be fixed in git head / 0.8.2rc2

@laanwj laanwj closed this Oct 22, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment