Skip to content

JSON.DEBUG MEMORY is inaccurate #555

Closed

Description

@oshadmi

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

Activity

  1. oshadmi commented on Dec 1, 2021

    @oshadmi
    CollaboratorAuthor

    Related to #559

  2. linked a pull request that will close this issueHandle "MEMORY USAGE" and JSON.DEBUG #594on Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions