dragonflydb / dragonflydb/dragonfly

Provide some defrag stats in INFO

Open
#863 0 comments 0 reactions 0 assignees View on GitHub
docs-fixit enhancement
Dominant language
C++
Stars
31.5k
Forks
1.3k
Avg merge
1d 10h
Merged PRs (30d)
127

Description

We currently provide stats about how often defrag ran, but have no fields similar to `allocator_frag_ratio` or `allocator_frag_bytes`

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing defragmentation statistics and the INFO command implementation. Compare the current stats with the allocator_frag_ratio and allocator_frag_bytes fields, then determine the expected values and expose equivalent defrag statistics through INFO; verify the reported fields with the relevant tests if they exist.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.