Closed zhongwencool closed 3 years ago
I think rpc and mnesia transaction are correlated, if rpc call/cast is failing due to network issue, mneisa transaction will be aborted as well.
The idea is to make MFA idempotent, Two reasons:
I think rpc and mnesia transaction are correlated, if rpc call/cast is failing due to network issue, mneisa transaction will be aborted as well.
The idea is to make MFA idempotent, Two reasons:
- the retry-nature of mnesia transaction functions
- the lack of rollback for the MFAs
that's why MFA can be, and should be applied before the transaction which commits the last-applied ID to database.
I think rpc and mnesia transaction are correlated, if rpc call/cast is failing due to network issue, mneisa transaction will be aborted as well.