NICMx / FORT-validator

RPKI cache validator
MIT License
50 stars 24 forks source link

RRDP files are deleted immediately after use #81

Open ydahhrk opened 2 years ago

ydahhrk commented 2 years ago

(RRDP files = Notifications, Snapshots and Deltas.)

It seems to have been implemented this way to preserve disk space, but has two drawbacks I find impractical:

  1. It complicates debugging; it means if there's a problem, I just lost the file that triggered it.
  2. It's (presumably) the reason why session IDs and serials need to be cached in RAM. (#79)

Branch rrdp-refactor has a WIP of this bug.

ydahhrk commented 10 months ago

In the end, I decided to address this differently.

Keeping RRDP files in the cache (even temporarily) is not the wisest idea, obviously. Their disk usage is not insignificant.

I started designing metadata files that would provide the benefits of both worlds, but this grew outside of the scope of 1.6.0.

So, though there's already a startup in 1.6.0, this will remain open for a while longer.