Allow files to be evicted during a 'prepare abort'
Problem
At the moment, when a client issues a prepare abort
, the files that have already been staged on disk are not removed. They will stay there, occupying space, until the garbage collector kicks in.
Since we don't expect the client to need these files anymore, they should be treated internally with the same behaviour as evict
(including using the evict counter).
Proposal
- If the client issues a
prepare abort
on a file that has been staged, treat it as an evict (including decreasing the evict counter). - Make this option configurable (so that we can enable/disable is for different experiments, if needed).