microsoft/garnet

Extend DUMP & RESTORE commands to support Garnet objects

Open

#1,343 创建于 2025年8月14日

在 GitHub 查看
 (4 评论) (1 反应) (0 负责人)C# (11,827 star) (660 fork)batch import
APIenhancementhelp wanted

描述

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

贡献者指南