microsoft/garnet

Extend DUMP & RESTORE commands to support Garnet objects

Open

#1.343 aberto em 14 de ago. de 2025

Ver no GitHub
 (4 comments) (1 reaction) (0 assignees)C# (660 forks)batch import
APIenhancementhelp wanted

Métricas do repositório

Stars
 (11.827 stars)
Métricas de merge de PR
 (Mesclagem média 5d 16h) (55 fundiu PRs em 30d)

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

Guia do colaborador