rabbitmq / mnevis

Raft-based, consensus oriented implementation of Mnesia transactions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update locker term from a single locker process

lukebakken opened this issue · comments

Locker terms accumulate some internal data like blacklisted transactions and committed transactions. This data should be cleaned up at some point.

]Currently they're only cleaned up when a new locker process registers, but there is no difference between a new locker process and a higher term for the same process. If locker process could re-register periodically with a higher term it would keep transaction tracking clean.

Originally proposed by @hairyhum