mirror of
https://github.com/prometheus/prometheus.git
synced 2024-09-19 23:37:31 -07:00
Update wal.md
Signed-off-by: DC <413331538@qq.com>
This commit is contained in:
parent
b6107cc888
commit
eb601ca6d7
|
@ -17,7 +17,8 @@ Notable deviations are that the record fragment is encoded as:
|
|||
└───────────┴──────────┴────────────┴──────────────┘
|
||||
```
|
||||
|
||||
The type flag has the following states:
|
||||
The type flag is comprised of three components: a 3-bit reserved field, a 1-bit zstd compression flag, a 1-bit snappy compression flag, and a 3-bit type flag.
|
||||
The lowest 3 bits within this flag represent the record type as follows:
|
||||
|
||||
* `0`: rest of page will be empty
|
||||
* `1`: a full record encoded in a single fragment
|
||||
|
|
Loading…
Reference in a new issue