kubernetes/vendor/go.etcd.io/etcd/server/v3/wal/walpb/record.go

var ErrCRCMismatch

func (rec *Record) Validate(crc uint32) error {}

// ValidateSnapshotForWrite ensures the Snapshot the newly written snapshot is valid.
//
// There might exist log-entries written by old etcd versions that does not conform
// to the requirements.
func ValidateSnapshotForWrite(e *Snapshot) error {}