[go: up one dir, main page]

Unplug and remove the legacy store

This MR aims to remove the legacy (aka LMDB) store used for versions < 0.0.5 of the storage's format.

It removes:

  • the upgrade procedure (form 0.0.4/0.0.5 to 0.0.6)
  • the legacy (v1) snapshot import
  • the legacy tests
  • the legacy code needed for the previous items
  • The vendored LMDB library

It keeps:

  • some legacy code to be able to read the header of a v1 snapshot
  • the legacy History mode

Manually testing the MR

One can check the failure of the v1 snapshot import or the legacy store upgrade?

(weak) One can run grep -Rne "legacy" src/lib_* to make sure that no reference to the legacy store left.

Checklist

  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, the Development Version section of CHANGES.md for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Victor Allombert

Merge request reports

Loading