Similar to rsync repo delay deletes for rrdp repos to after processing
authorclaudio <claudio@openbsd.org>
Tue, 4 May 2021 08:16:36 +0000 (08:16 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 4 May 2021 08:16:36 +0000 (08:16 +0000)
commit512ef3b56ec5cd26f8ccfa15cb7599da43f51518
treef0b5c8e77db34a104ffaa47db738e2fcbe4f6c57
parent862607c08452591943a6422e312a1baa557180fc
Similar to rsync repo delay deletes for rrdp repos to after processing
all files. Now RRDP has a weak sync mechanism and therefor not all
unreferenced files can be removed, instead look at the list of removes
which were part of the delta processing and remove those files.
Warn and keep the file if a delta specifies to remove a file which is
actually still referenced.
OK benno@
usr.sbin/rpki-client/repo.c