Page MenuHomePhabricator

Backport Core PR 11476: Avoid opening copied wallet databases simultaneously
Open, Needs TriagePublic

Description

Make sure wallet databases have unique fileids. If they don't, throw an error. BDB caches do not work properly when more than one open database has the same fileid, because values written to one database may show up in reads to other databases.

Bitcoin will never create different databases with the same fileid, but users can create them by manually copying database files.

Backport Core PR 11476

Event Timeline

matiu renamed this task from Avoid opening copied wallet databases simultaneously to Backport Core PR 11476: Avoid opening copied wallet databases simultaneously.Feb 1 2018, 19:45