- After clean shutdown, delete the database/ subdir. This means upgrading/changing the BDB dir won’t kill you anymore because of incompatible logs.
- In case opening the database environment fails, move database/ to database.$TIMESTAMP.bak, and try again.
- Do not advise the user to nuke his datadir anymore - there’s no point in doing so (closes #2488).
- Drop double opening of the environment (includes #2333).
Some database/-related recovery improvements #2558
pull sipa wants to merge 3 commits into bitcoin:master from sipa:nodbdir changing 3 files +23 −16-
sipa commented at 10:48 pm on April 23, 2013: member
-
remove duplicate bitdb.Open() code from init
- remove code from step 7, which we already have in step 5 of init
-
Try moving database/ away in case of failure 1859aafef0
-
Remove database/ after clean shutdown ccda03b570
-
BitcoinPullTester commented at 8:29 pm on April 26, 2013: noneAutomatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/ccda03b57022369c4352d0f5a816cff9ace833e6 for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
-
laanwj commented at 9:12 am on April 27, 2013: memberACK
-
Diapolo commented at 9:17 pm on April 28, 2013: noneLooks good and should make it for 0.8.2 IMHO.
-
jgarzik commented at 9:11 pm on May 3, 2013: contributor
ACK code
I’d say it needs testing on Windows, to make sure the looks-right-on-Unix code works there. Or maybe I’m just being paranoid.
-
gavinandresen commented at 9:18 pm on May 3, 2013: contributorACK. Compiles and works as advertised on OSX.
-
sipa referenced this in commit 674ae7a26f on May 3, 2013
-
sipa merged this on May 3, 2013
-
sipa closed this on May 3, 2013
-
sipa deleted the branch on May 3, 2013
-
laudney referenced this in commit 01f0042b11 on Mar 19, 2014
-
DrahtBot locked this on Feb 15, 2022
sipa
BitcoinPullTester
laanwj
Diapolo
jgarzik
gavinandresen
Milestone
v0.8.2
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 09:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 09:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me