tsdb/docs: fix head chunks directory + link from README (#7309)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
parent
2f12049371
commit
d634785944
|
@ -2,5 +2,6 @@
|
||||||
|
|
||||||
* [Index](index.md)
|
* [Index](index.md)
|
||||||
* [Chunks](chunks.md)
|
* [Chunks](chunks.md)
|
||||||
|
* [Head Chunks](head_chunks.md)
|
||||||
* [Tombstones](tombstones.md)
|
* [Tombstones](tombstones.md)
|
||||||
* [Wal](wal.md)
|
* [Wal](wal.md)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Head Chunks on Disk Format
|
# Head Chunks on Disk Format
|
||||||
|
|
||||||
The following describes the format of a chunks file,
|
The following describes the format of a chunks file, which is created in the
|
||||||
which is created in the `wal/chunks/` inside the data directory.
|
`chunks_head/` directory inside the data directory.
|
||||||
|
|
||||||
Chunks in the files are referenced from the index by uint64 composed of
|
Chunks in the files are referenced from the index by uint64 composed of
|
||||||
in-file offset (lower 4 bytes) and segment sequence number (upper 4 bytes).
|
in-file offset (lower 4 bytes) and segment sequence number (upper 4 bytes).
|
||||||
|
@ -27,7 +27,10 @@ in-file offset (lower 4 bytes) and segment sequence number (upper 4 bytes).
|
||||||
|
|
||||||
# Chunk
|
# Chunk
|
||||||
|
|
||||||
Unlike chunks in the on-disk blocks, here we additionally store series reference that the chunks belongs to and the mint/maxt of the chunks. This is because we don't have an index associated with these chunks, hence these meta information are used while replaying the chunks.
|
Unlike chunks in the on-disk blocks, here we additionally store series
|
||||||
|
reference that the chunks belongs to and the mint/maxt of the chunks. This is
|
||||||
|
because we don't have an index associated with these chunks, hence these meta
|
||||||
|
information are used while replaying the chunks.
|
||||||
|
|
||||||
```
|
```
|
||||||
┌─────────────────────┬───────────────────────┬───────────────────────┬───────────────────┬───────────────┬──────────────┬────────────────┐
|
┌─────────────────────┬───────────────────────┬───────────────────────┬───────────────────┬───────────────┬──────────────┬────────────────┐
|
||||||
|
|
Loading…
Reference in New Issue