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

JSON.DEBUG MEMORY is inaccurate #555

Closed
oshadmi opened this issue Nov 25, 2021 · 1 comment · Fixed by #594
Closed

JSON.DEBUG MEMORY is inaccurate #555

oshadmi opened this issue Nov 25, 2021 · 1 comment · Fixed by #594
Labels

Comments

@oshadmi
Copy link
Collaborator

oshadmi commented Nov 25, 2021

Issue #545 fixed a problem with key position on cluster,
So it does not return zeros any more,
But JSON.DEBUG MEMROY is still not returning accurate values.
For example,

127.0.0.1:6379> JSON.SET doc $ '[]'
OK
127.0.0.1:6379> JSON.DEBUG MEMORY doc $
1) (integer) 24
127.0.0.1:6379> JSON.ARRINSERT doc $ 0 '"some_string_value"'
1) (integer) 1
127.0.0.1:6379> JSON.DEBUG MEMORY doc $
1) (integer) 24
127.0.0.1:6379> JSON.STRAPPEND doc $[0] '"!"' 
1) (integer) 18
127.0.0.1:6379> JSON.DEBUG MEMORY doc $
1) (integer) 24



Should not be returning the same value both before and after ARRINSERT and JSON.STRAPPEND

@oshadmi oshadmi added the bug label Nov 25, 2021
@oshadmi
Copy link
Collaborator Author

oshadmi commented Dec 1, 2021

Related to #559

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant