Skip to content

Verify the checksum before actually loading RDB by default. #899

@antirez

Description

@antirez

At least for replication, check the checksum if the RDB version is one with final CRC64, and only later load the RDB file if it looks sane.

It should be possible to independently disable the checksum verification, like that:

pre-verify-rdb-checksum [always|replication|startup|no]

That's a 2.6 backport candidate.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions