* fix(evicition): Limit accumulation deleted bytes during eviction (#5995)
Cache state variable accumulated_deleted_bytes_during_eviction need to
have upper bound when accumulating to prevent over eviction.
Adjust deleted bytes for each shard between two heartbeats by comparing
previous shard used memory and current shard used memory.
Fixes #5945
Signed-off-by: mkaruza <mario@dragonflydb.io>
(cherry picked from commit 1125eb40e9e2e5d0b4238ce6c0434206df4cd520)
* feat(core): Add defrag support for json objects (#6023)
Signed-off-by: mkaruza <mario@dragonflydb.io>
Signed-off-by: Abhijat Malviya <abhijat@dragonflydb.io>
Co-authored-by: mkaruza <mario@dragonflydb.io>