dragonflydb / dragonfly

A modern replacement for Redis and Memcached
https://www.dragonflydb.io/
Other
24.46k stars 884 forks source link

db_slice and journal RegisterOnChange method refactoring #3229

Open BorysTheDev opened 4 days ago

BorysTheDev commented 4 days ago

We need to refactor RegisterOnChange in a way that removes mutex lock via the LockChangeCb and UnlockChangeCb methods from the Transaction code