microsoft/garnet

Extend DUMP & RESTORE commands to support Garnet objects

Open

#1,343 opened on Aug 14, 2025

View on GitHub
 (4 comments) (1 reaction) (0 assignees)C# (11,827 stars) (660 forks)batch import
APIenhancementhelp wanted

Description

Feature request type

enhancement

Is your feature request related to a problem? Please describe

The DUMP command serializes a value at a specified key and dumps the serialized value to the client. The serialized value can then be deserialized and stored using the RESTORE command.

Currently, Garnet supports the DUMP & RESTORE commands for string values only. We're looking for help implementing this command for all other supported object types (Set, SortedSet, HashSet, List).

Describe the solution you'd like

Extend implementation of DUMP and RESTORE command in Garnet to support objects.

References: Serialization format specification. Existing DUMP and RESTORE code in KeyAdminCommands.cs (see: NetworkDUMP and NetworkRESTORE)

Describe alternatives you've considered

No response

Additional context

No response

Contributor guide