khepri_mnesia_migration 0.2.1
At this point,
khepri_mnesia_migration
should be considered Alpha and not production ready. The API will likely evolve and future releases will likely introduce breaking changes. The goal of this release is to make it easy for anyone to try it and possibly give feedback.
What's new in khepri_mnesia_migration
0.2.1
This release contains mostly bug fixes and internal improvements, following
more extensive testing in RabbitMQ.
is_migration_finished/{1,2}
returns a meaningful return value even if the Khepri store is stopped (#4).rollback/2
waits for the Khepri projection to be updated before returning (#5). This makes sureis_migration_finished/2
will return false immediately after a rollback.- Correctly handle a
no_exists
abort reason returned by the Mnesia function inmnesia_to_khepri:handle_fallback/4
(#6). - Protect against infinite loop in
mnesia_to_khepri:handle_fallback/4
(#7). - Check record validity before running the
mnesia_to_khepri
callback module'scopy_to_khepri/3
function (#8).
Download
khepri_mnesia_migration
0.2.1 is available from Hex.pm: https://hex.pm/packages/khepri_mnesia_migration/0.2.1
Upgrade
Using Rebar:
-
Update your
rebar.config
:%% In rebar.config {deps, [{khepri_mnesia_migration, "0.2.1"}]}.
-
Run
rebar3 upgrade khepri_mnesia_migration
.
Using Erlang.mk:
-
Update your
Makefile
:%% In your Makefile dep_khepri_mnesia_migration = hex 0.2.1
-
Remove the
deps/khepri_mnesia_migration
directory. The new version will be fetched the next time you build your project.
Documentation
The documentation for khepri_mnesia_migration
0.2.1 is available on Hex.pm.