Merge pull request #6576 from ThomasWaldmann/repo-tags-docs-1.2

docs: fix values of TAG bytes, fixes #6515
This commit is contained in:
TW 2022-04-12 18:13:05 +02:00 committed by GitHub
commit 19f9247f65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,7 @@ followed by a number of log entries. Each log entry consists of: (in this order)
* First, unsigned 32-bit number, the CRC32 of the entire entry (for a PUT including the DATA) excluding the CRC32 field
* Second, unsigned 32-bit size of the entry (including the whole header)
* Third, unsigned 8-bit entry tag: PUT(1), DELETE(2) or COMMIT(3)
* Third, unsigned 8-bit entry tag: PUT(0), DELETE(1) or COMMIT(2)
* Fourth, on PUT or DELETE, 32 byte key
* Fifth, PUT only, (size - 41) bytes of data (length = size - sizeof(CRC32) - sizeof(size) - sizeof(entry tag) - sizeof(key))