diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-22 22:18:29 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-22 22:18:29 +0200 |
commit | cac8795d33cd52d362e02590b4df4ccd9b96ff71 (patch) | |
tree | c18169ed9e3e6ed059c481afa6149783d1b9585a /TODO.md | |
parent | bded863524b701332bbc6e20ae72468301015c36 (diff) | |
download | dna-backup-cac8795d33cd52d362e02590b4df4ccd9b96ff71.tar.gz dna-backup-cac8795d33cd52d362e02590b4df4ccd9b96ff71.zip |
fix mystical bug by making multiple passes
We make ne passes while new blocks have been added.
This way we are assured that the result will be the same on following runs.
result :
161 /tmp/test-1/00001/recipe
161 /tmp/test-1/00001/files
0 /tmp/test-1/00001/hashes
40 /tmp/test-1/00001/chunks
482 /tmp/test-1/00001
9904052 /tmp/test-1/00000/recipe
5377304 /tmp/test-1/00000/files
2061331 /tmp/test-1/00000/hashes
207958371 /tmp/test-1/00000/chunks
225301178 /tmp/test-1/00000
225301740 /tmp/test-1
Diffstat (limited to 'TODO.md')
-rw-r--r-- | TODO.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -89,3 +89,6 @@ The first solution would have an advantage if we were directly streaming the output of the program into DNA, as it could start DNA-encode it from the first chunk. The second solution will probably have better space-saving performance as waiting for better matches will probably lower the size of the patches. + +This has been fixed by making multiple passes until no more blocks are added, +this way we are assured that the result will be the same on the following run. |