Update week1-05-read-path.md, fix typo (#104)
* Update week1-05-read-path.md, fix typo * Update week1-04-sst.md
This commit is contained in:
@@ -38,7 +38,7 @@ The encoding of SST is like:
|
||||
-------------------------------------------------------------------------------------------
|
||||
```
|
||||
|
||||
You also need to implement `estimated_size` function of `SsTableBuilder`, so that the caller can know when can it start a new SST to write data. The function don't need to be very accurate. Given the assumption that data blocks contain much more data than meta block, we can simply return the size of data blocks for `estimated_size`.
|
||||
You also need to implement `estimated_size` function of `SsTableBuilder`, so that the caller can know when can it start a new SST to write data. The function doesn't need to be very accurate. Given the assumption that data blocks contain much more data than meta block, we can simply return the size of data blocks for `estimated_size`.
|
||||
|
||||
Besides SST builder, you will also need to complete the encoding/decoding of block metadata, so that `SsTableBuilder::build` can produce a valid SST file.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user