You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`fixed_4k`| 4 KiB | Minecraft region files (`.mca`): each region file is organized in 4 KiB pages, so changes in one chunk only invalidate that 4 KiB page |
46
-
|`fixed_32k`| 32 KiB | General intermediate granularity |
47
-
|`fixed_128k`| 128 KiB | Append-only files: growth at the tail only creates new trailing chunks, leaving all previous chunks intact |
|`fixed_4k`| 4 KiB | Minecraft region files (`.mca`): each region file is organized in 4 KiB pages, so changes in one chunk only invalidate that 4 KiB page |
46
+
|`fixed_32k`| 32 KiB | General intermediate granularity |
47
+
|`fixed_128k`| 128 KiB | Append-only files: growth at the tail only creates new trailing chunks, leaving all previous chunks intact |
48
+
|`fixed_auto`| 128 KiB / 4 KiB | Adaptive fixed-size strategy that uses the previous backup's same-path chunk layout to limit metadata growth while keeping some 4 KiB reuse |
48
49
49
50
### fixed_4k
50
51
@@ -70,6 +71,17 @@ When new data is appended, only the trailing chunks change; all preceding chunks
70
71
71
72
This makes `fixed_128k` a reasonable alternative to CDC for pure append-write files
72
73
74
+
### fixed_auto
75
+
76
+
`fixed_auto` walks the file in 128 KiB windows.
77
+
For each full window, it checks the previous backup's same-path chunk layout at the same offset:
78
+
79
+
- if the previous window was one 128 KiB chunk and the current content is unchanged, it keeps one 128 KiB chunk
80
+
- if the previous window was one 128 KiB chunk and the current content changed, it stores the current window as thirty-two 4 KiB chunks
81
+
- if the previous window was thirty-two 4 KiB chunks, it compares the 4 KiB hashes first; when none changed, it stores one 128 KiB chunk, otherwise it keeps thirty-two 4 KiB chunks
82
+
83
+
Missing previous data, direct blobs, irregular previous layouts, and incomplete tail windows are stored as one chunk for that window.
|`fixed_auto`| Fixed (alpha) | Adaptive 128 KiB / 4 KiB chunks based on the previous backup's same-path chunk layout |
481
490
482
491
CDC algorithms determine chunk boundaries from file content, so local insertions, deletions, or in-place edits leave many chunks unchanged for reuse.
483
492
See [CDC Chunking](chunking/chunking_cdc.md) for details.
@@ -487,7 +496,7 @@ Each rule contains the following fields:
487
496
488
497
!!! warning
489
498
490
-
Fixed-size algorithms (`fixed_4k`, `fixed_32k`, `fixed_128k`) are in alpha status and not recommended for production use.
499
+
Fixed-size algorithms (`fixed_4k`, `fixed_32k`, `fixed_128k`, `fixed_auto`) are in alpha status and not recommended for production use.
491
500
492
501
!!! note
493
502
@@ -502,7 +511,7 @@ Each rule contains the following fields:
502
511
-`patterns`: A list of [gitignore flavor](http://git-scm.com/docs/gitignore) pattern strings,
503
512
matched against file paths relative to [source_root](#source_root)
504
513
505
-
The default value contains one rule that applies `fastcdc_32k` CDC chunking to`.db` files larger than 100 MiB.
514
+
The default value contains two rules: `fastcdc_32k` CDC chunking for`.db`and `.log`files larger than 20 MiB, and `fixed_auto` chunking for `.mca` files larger than 256 KiB.
506
515
It is recommended to keep the rules narrow and only cover large files that are often modified locally and really need to be backed up
507
516
508
517
Changing this option only affects files newly stored in future backups.
0 commit comments