System and method for managing data in memory

用于管理存储器中的数据的系统和方法

Abstract

The invention relates to a system and method for managing data in a memory. Provided are a computer program product, system, and method for handling failure of a command to add a record to a log. The log has records at log addresses. Each record in the log includes a key and value and the log addresses map to physical addresses in the storage. A first command for a key and value pair for a record at a specified log address in the log to add to a selected log address in the log is sent. A second command for the key and value pair for the record at the specified log address with a resend parameter set is sent in response to not receiving the selected log address. In response to receiving the second command with the resend parameter set, the log is scanned to determine a log address having the key and value pair. The determined log address is returned.
本发明涉及一种用于管理存储器中的数据的系统和方法。提供一种用于处理将记录添加到日志的命令的失败的计算机程序产品、系统和方法。所述日志在日志地址处具有记录。所述日志中的每个记录具有键和值,并且所述日志地址映射到所述存储器中的物理地址。发送用于所述日志中指定日志地址处的记录的要添加到所述日志中选定日志地址的键和值对的第一命令。响应于未接收到所述选定日志地址,发送设置了重发参数的用于所述指定日志地址处的所述记录的所述键和值对的第二命令。响应于接收设置了所述重发参数的所述第二命令,扫描所述日志以确定具有所述键和值对的日志地址。返回所确定的日志地址。

Claims

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (0)

    Publication numberPublication dateAssigneeTitle

NO-Patent Citations (0)

    Title

Cited By (0)

    Publication numberPublication dateAssigneeTitle