Skip to content

aof 校验和机制如何证明 #2526

Open
@fox-half-tian

Description

@fox-half-tian

文章链接:Redis持久化机制详解 | JavaGuide
文中提到了 aof 校验和机制,但实际上,我在 redis 4.0 和 redis 6.0 的源码中,在服务启动阶段的代码里,都只找到了对 rdb 数据的 crc64 校验和检查,以及 redis.conf 中只有配置项 rdbchecksum。

还是说,这里的 aof 校验和机制是在以该 aof 文件是混合持久化模式下重写得到的?对 rdb 数据那部分的验证?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions