While preparing PR #16701, we identified an inconsistency in the chunk format documentation. The `varint` encoding can require up to 10 bytes for a 64-bit integer, such as when timestamps are encoded. However, the chunk length field is a 32-bit integer, which requires at most 5 bytes in `varint` encoding. This is reflected in the code, where a maximum of 5 bytes are read when parsing the chunk length. |
||
|---|---|---|
| .. | ||
| README.md | ||
| chunks.md | ||
| head_chunks.md | ||
| index.md | ||
| memory_snapshot.md | ||
| tombstones.md | ||
| wal.md | ||