Hi folks,
>From gdbm 1.21, gdbm supports the crash tolerance feature.
see: https://www.gnu.org.ua/software/gdbm/manual/Crash-Tolerance.html

I would like to introduce this feature since python standard library is the
only gdbm binding library that is available for end-users.
And this is also effort for end-users to provide the latest new features.
If this feature is added following methods will be added.
  - 'x' flag will be added for extended gdbm format.
  - gdbm.gdbm_failure_atomic('path1', 'path2') API will be added for
snapshot paths.
  - gdbm.gdbm_latest_snapshot('path1', 'path2') API will be added for
getting latest valid snapshot path.

The above APIs will be used for people who need to recover their gdbm file
if disaster situations happen.
However, this feature is not yet decided to land to CPython.
and we have already discussed this issue at
https://bugs.python.org/issue45452
but I would like to hear other devs opinions.

I cc the original authors of this feature and Serhiy who thankfully already
participated in this discussion too :)

Warm Regards,
Dong-hee
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/RFICESJKJW3KZSHYSU4R7UEPUUAJL2B3/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to