mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 16:55:36 +00:00
docs/internals: note segment size limitation
This commit is contained in:
parent
1ac49380b1
commit
10a7b6b727
1 changed files with 4 additions and 1 deletions
|
@ -96,7 +96,7 @@ files manually.
|
||||||
A segment starts with a magic number (``BORG_SEG`` as an eight byte ASCII string),
|
A segment starts with a magic number (``BORG_SEG`` as an eight byte ASCII string),
|
||||||
followed by a number of log entries. Each log entry consists of:
|
followed by a number of log entries. Each log entry consists of:
|
||||||
|
|
||||||
* size of the entry
|
* 32-bit size of the entry
|
||||||
* CRC32 of the entire entry (for a PUT this includes the data)
|
* CRC32 of the entire entry (for a PUT this includes the data)
|
||||||
* entry tag: PUT, DELETE or COMMIT
|
* entry tag: PUT, DELETE or COMMIT
|
||||||
* PUT and DELETE follow this with the 32 byte key
|
* PUT and DELETE follow this with the 32 byte key
|
||||||
|
@ -118,6 +118,9 @@ When a repository is opened any ``PUT`` or ``DELETE`` operations not
|
||||||
followed by a ``COMMIT`` tag are discarded since they are part of a
|
followed by a ``COMMIT`` tag are discarded since they are part of a
|
||||||
partial/uncommitted transaction.
|
partial/uncommitted transaction.
|
||||||
|
|
||||||
|
The size of individual segments is limited to 4 GiB, since the offset of entries
|
||||||
|
within segments is stored in a 32-bit unsigned integer in the repository index.
|
||||||
|
|
||||||
Index, hints and integrity
|
Index, hints and integrity
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue