]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Synchronize rsync modules instead of RPPs again
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Sun, 19 Nov 2023 23:57:33 +0000 (17:57 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 21 Nov 2023 22:56:04 +0000 (16:56 -0600)
commitee47fe9d43614a929d591ba6039d751d7577070d
treebfe239d713a8313860b2f645794e34ee8de4a07f
parent23bec30d3706ab7a9be225ef0eaaabcbbd29ebd3
Synchronize rsync modules instead of RPPs again

rsync-ing every RPP separately is prohibitely expensive when RRDP is
unavailable.

As it turns out, rsync-ing the repository root happens to be an
unwritten standard. Fort was far from the only one doing it, and people
expect it.

This means I will eventually have to come up with a different way to box
RRDP RPPs, as the current implementation induces too many redownloads
when rsync needs to be fall-backed into.

I will have to leave that outside of 1.6.0 however, as I've fixed too
much stuff already, and I need a new release urgently.

Sort of reverts #80, though the flag will remain deleted. I don't think
there's a point in offloading this decision to the user.
12 files changed:
src/cache/local_cache.c
src/cache/local_cache.h
src/cache/tmp.c
src/common.c
src/common.h
src/file.c
src/file.h
src/http/http.c
src/object/tal.c
src/rrdp.c
src/rsync/rsync.c
test/cache/local_cache_test.c