Skip to content

Garnet DB Growing Indefinitely Despite Low Data Volume After PR #1239 #1265

Open
@wessisaac

Description

@wessisaac

Describe the bug

Even after PR #1239 "Support for expired key deletion scan", we're still facing an issue where the Garnet database size grows indefinitely. Despite having less than 5MB of active data, it's consuming around 5GB of memory per day. It appears that expired or deleted records are not being physically removed from main memory, AOF, or disk (including ObjectStore and MainStore), as expected.

Steps to reproduce the bug

Git Path:
https://github.com/wesleyisaacd/GarnetRepro.git

Expected behavior

Expired and deleted data should be physically removed from main memory, AOF, and disk storage (including both the main store and object store) to prevent unnecessary memory and disk usage.

Screenshots

No response

Release version

No response

IDE

No response

OS version

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions