Skip to content

document error in week2 day5 #98

Open
@CNYuYang

Description

document:

The manifest format is like:

| JSON record | JSON record | JSON record | JSON record |

Again, note that we do not record the information of how many bytes each record has.

but mini-lsm/manifest.rs

// record how many bytes each record has
file.write_all(&(buf.len() as u64).to_be_bytes())?;

so,The real format is:

| len,JSON record,crc | len,JSON record,crc | len,JSON record,crc | len,JSON record,crc |

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