diff --git a/src/pkg/rdb/loader.go b/src/pkg/rdb/loader.go index 2b4602a..837cf6f 100644 --- a/src/pkg/rdb/loader.go +++ b/src/pkg/rdb/loader.go @@ -49,6 +49,8 @@ func (l *Loader) Footer() error { crc1 := l.crc.Sum64() if crc2, err := l.readUint64(); err != nil { return err + } else if crc2 == 0 { + log.Info("RDB file was saved with checksum disabled: no check performed.") } else if crc1 != crc2 { return errors.Errorf("checksum validation failed") }