Skip to content

[Bug]: workbench can't display large integer properly #4858

@Rilomilo

Description

@Rilomilo

Steps to reproduce

  1. set a key a large value, say 9223372036854775807
  2. incr or decr it, the result will be returned in integer form
  3. the inteface can't display return value properly

Actual behavior
As screenshot, loss of significance happend, but value is set properly in redis. I think it's because of the number precision loss in javascript, and using bigInt type may help.

Expected behavior
It needs to display the exact return value, in case user misunderstands that command goes wild.

Screenshots (Paste or drag-and-drop a screenshot or a link to a recording)

Image

Additional context

  • Redis Insight version 2.70.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions