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
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