Compare commits

...

2 commits

Author SHA1 Message Date
DC 7c63b54510
Merge eb601ca6d7 into c36589a6dd 2024-09-19 18:40:19 +08:00
DC eb601ca6d7
Update wal.md
Signed-off-by: DC <413331538@qq.com>
2024-09-19 13:18:23 +08:00

View file

@ -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