[issue25442] Shelve consistency issues

Yanyan Jiang report at bugs.python.org
Mon Oct 19 20:58:07 EDT 2015


Yanyan Jiang added the comment:

Thanks for reminding. It is originally reported with the default setting. We conducted further tests with other options of anydbm (dbhash, dbm, gdbm), none of them survived crash testing. For the detailed reasoning please refer to an OSDI'14 research paper: https://www.usenix.org/system/files/conference/osdi14/osdi14-paper-pillai.pdf
 This paper discussed vulnerabilities of GDBM implementation in that paper, and these lightweight db implementations have similar problems. We also have tests SQLite, and it is much more robust that we have not found ACID violation yet.

Personally I think it is reasonable to have an SQLite backend, as it is much safer (plus providing thread safety). Just to see what I can do for that.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25442>
_______________________________________


More information about the Python-bugs-list mailing list