core/rawdb: fix freezer metadata log field ordering (#35246)

This commit is contained in:
cui 2026-06-29 20:59:12 +08:00 committed by GitHub
parent eccd239a29
commit 11524ba075
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -112,7 +112,7 @@ func decodeV2(file *os.File) *freezerTableMeta {
return nil
}
if o.Offset > math.MaxInt64 {
log.Error("Invalid flushOffset %d in freezer metadata", o.Offset, "file", file.Name())
log.Error("Invalid flushOffset %d in freezer metadata", "offset", o.Offset, "file", file.Name())
return nil
}
return &freezerTableMeta{