We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Describe the bug MEMORY USAGE for STREAM keys always return (integer) 0
To Reproduce Steps to reproduce:
XADD test-stream * just test
MEMORY USAGE test-stream
(integer) 0
Expected behavior
(integer) 4736
Environment (please complete the following information):
Ubuntu 24.04
Linux 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 22:03:50 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
Docker version 27.3.1, build ce12230
image: 'docker.dragonflydb.io/dragonflydb/dragonfly:v1.24.0'
The text was updated successfully, but these errors were encountered:
Hi @trisua, you are right this is a bug and thank you for reporting.
See:
size_t MallocUsedStream(unsigned encoding, void* streamv) { // stream* str_obj = (stream*)streamv; return 0; // TODO }
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
MEMORY USAGE for STREAM keys always return (integer) 0
To Reproduce
Steps to reproduce:
XADD test-stream * just test
MEMORY USAGE test-stream
(integer) 0
Expected behavior
XADD test-stream * just test
MEMORY USAGE test-stream
(integer) 4736
(example from redis_version:7.2.6)Environment (please complete the following information):
Ubuntu 24.04
Linux 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 22:03:50 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
Docker version 27.3.1, build ce12230
image: 'docker.dragonflydb.io/dragonflydb/dragonfly:v1.24.0'
The text was updated successfully, but these errors were encountered: