[issue45452] Support crash tolerance feature for gdbm module

Dong-hee Na report at bugs.python.org
Thu Oct 14 12:34:32 EDT 2021


Dong-hee Na <donghee.na at python.org> added the comment:

> Please show examples.

Sorry, I don't understand, do you mean caching example or recovery example?
When we use rocksdb, we can get checkpoints files under local file system.
And we can recover the database by using them.
http://rocksdb.org/blog/2015/11/10/use-checkpoints-for-efficient-snapshots.html

If we provide gdbm for similar things, users can recover the database when the accident happens, I believe that it sometimes happens.(Power out, hardware fault etc..)
The recovering tool itself does not need to be Python, but python client needs to have a option to save snapshot, but currently not.

Please read how to recover the database if they have snapshots for gdbm.
https://www.gnu.org.ua/software/gdbm/manual/Crash-recovery.html

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45452>
_______________________________________


More information about the Python-bugs-list mailing list