Skip to content

Resolve "TTL and key eviction of scan data"

Wout De Nolf requested to merge 2860-ttl-and-key-eviction-of-scan-data into master

Closes #2860 (closed) Part of #2848 (closed)

All existing TTL setting for db=1 has been removed and replaced with this logic:

  1. TTL of scan nodes (including children) is set to 5 minutes at the end of the scan (normal finish or CTRL-C). For the basic data policy, the parents are included as well.
  2. TTL of dataset nodes (including children) is set to 5 minutes when a dataset is closed
  3. TTL of proposal nodes (including children and parents) is set to 5 minutes when switching to a new proposal
  4. TTL of proposal nodes (including parents) is unset when switching to a new proposal

There is currently no distinction between a closed dataset (no more data will be added) and a confirmed dataset (received by ICAT). This will come in another MR.

Edited by Wout De Nolf

Merge request reports