microsoft/garnet

Extend DUMP & RESTORE commands to support Garnet objects

Aperta

#1343 aperta il 14 ago 2025

 (4 commenti) (1 reazione) (0 assegnatari)C# (660 fork)batch import
APIenhancementhelp wanted

Metriche repository

Star
 (11.827 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor