Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix INFO used_memory_rss_human field name #1595

Merged

Conversation

enjoy-binbin
Copy link
Member

The name should be used_memory_rss_human according to
the context and Redis documentation.

The name should be used_memory_rss_human according to
the context and Redis documentation.
@enjoy-binbin
Copy link
Member Author

Not sure if anyone would rely on and use used_memory_human, i am leaning towards no...
it is a potential breaking change

Note our doc also describes it as used_memory_rss_human in https://kvrocks.apache.org/docs/info-sections

Copy link
Member

@mapleFU mapleFU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe jemalloc stats.resident or other can be used for used_memory and used_memory_human ? cc @PragmaTwice

@git-hulk
Copy link
Member

Not sure if anyone would rely on and use used_memory_human, i am leaning towards no... it is a potential breaking change

Note our doc also describes it as used_memory_rss_human in https://kvrocks.apache.org/docs/info-sections

It should be fine since used_memory_rss_human is only for human reading.

@PragmaTwice
Copy link
Member

Thanks. Merging...

@PragmaTwice PragmaTwice merged commit 960c2f6 into apache:unstable Jul 18, 2023
@enjoy-binbin enjoy-binbin deleted the fix_info_used_memory_rss_human branch July 19, 2023 00:47
git-hulk pushed a commit to git-hulk/kvrocks that referenced this pull request Jul 30, 2023
The name should be used_memory_rss_human according to
the context and Redis documentation.
@git-hulk git-hulk mentioned this pull request Jul 31, 2023
git-hulk pushed a commit that referenced this pull request Aug 1, 2023
The name should be used_memory_rss_human according to
the context and Redis documentation.
p1u3o pushed a commit to p1u3o/incubator-kvrocks that referenced this pull request Aug 1, 2023
The name should be used_memory_rss_human according to
the context and Redis documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants