dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

Data loss during heartbeat

Open BorysTheDev opened this issue 1 year ago • 2 comments

When we do snapshots (replica/migration) we use global transactions to prevent simultaneous data changes during db_slice and journal_slice RegisterOnChange function calls to prevent data loss, but heartbeat ignores global transactions and can proceed to expire keys. We need to prevent heartbeat simultaneous execution with global transactions and one of the ways to make heartbeat transactional

BorysTheDev avatar Jul 24 '24 17:07 BorysTheDev

Expire or evict?

romange avatar Aug 20 '24 19:08 romange

Both 🙂

dranikpg avatar Aug 20 '24 19:08 dranikpg