Skip to content

feat: use Mnesia module #506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Feb 10, 2022
Merged

feat: use Mnesia module #506

merged 9 commits into from
Feb 10, 2022

Conversation

jyeshe
Copy link
Member

@jyeshe jyeshe commented Feb 3, 2022

Replace use of :mnesia with AeMdw.Mnesia to generalize the database in a following PR.

Functions that deal with transactions or reading context like :mnesia.transaction, :mnesia.sync_transaction, :mnesia.sync_dirty where left to be replaced later as the signatures are different.

Functions that deal with table management will be droped later as the Mdw will manage the tables/column families directly.

PS: As shown by 9f3f22b vs fba18f9, select is not a good candidate for this replacement (due to macros involved) and will be likely to be replaced directly by more straighforward approach like RocksDb iterator.

@jyeshe jyeshe force-pushed the 396-use-database-module branch 3 times, most recently from 44039ab to 0be9515 Compare February 3, 2022 13:24
@jyeshe jyeshe self-assigned this Feb 3, 2022
@jyeshe jyeshe force-pushed the 396-use-database-module branch 4 times, most recently from 0fe7daf to cf86791 Compare February 8, 2022 10:01
@jyeshe jyeshe force-pushed the 396-use-database-module branch from 9ad272a to 606a5c5 Compare February 9, 2022 17:30
@jyeshe jyeshe force-pushed the 396-use-database-module branch from 44059d8 to 0839879 Compare February 9, 2022 18:10
@jyeshe jyeshe marked this pull request as ready for review February 9, 2022 21:47
@jyeshe jyeshe requested review from sborrazas and thepiwo February 9, 2022 21:47
@jyeshe jyeshe merged commit 9b50a8e into master Feb 10, 2022
@jyeshe jyeshe deleted the 396-use-database-module branch February 10, 2022 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants