oll3 / bita

Differential file synchronization over http
https://crates.io/crates/bita
MIT License
265 stars 10 forks source link

Archive created using fixed size and no compression cannot be cloned #18

Closed rminderhoud closed 2 years ago

rminderhoud commented 2 years ago

I was able to create an archive that I cannot clone on bita 0.9.0. Steps:

I started with no compression and a fix sized chunking strategy to try to keep it simple but based on some of the code I suspect there's a different set of configurations that are better supported than fix sized/no compression. I intend to look further into this but wanted to get the issue up

agreement.zip

oll3 commented 2 years ago

Interesting. And not too surprised when both the fixed size chunking and not compressing hasn't seen much use, at least not on my side. But thanks for reporting, will definitely have a look at it.

rminderhoud commented 2 years ago

Interesting. And not too surprised when both the fixed size chunking and not compressing hasn't seen much use, at least not on my side. But thanks for reporting, will definitely have a look at it.

Turns out it had nothing to do with the configuration but was a big in bita on windows!