microsoft/garnet

Extend DUMP & RESTORE commands to support Garnet objects

开放

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

 (4 条评论) (1 个反应) (0 位负责人)C# (660 个派生)batch import
APIenhancementhelp wanted

仓库指标

星标
 (11,827 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南