FORT-validator icon indicating copy to clipboard operation
FORT-validator copied to clipboard

reload feature: restart validation on SIGHUP

Open lukastribus opened this issue 4 years ago • 1 comments

Hello,

I believe a reload feature to be able to trigger revalidation and SLURM reread on SIGHUP would be nice to have, without daemon restart, RTR session teardown and RTR serial reset.

If it also would reread the json configuration file, that would be even better, but that probably adds additional complexity.

Thank you

lukastribus avatar Oct 31 '20 14:10 lukastribus

Hi Lukas,

Indeed, that would be a nice feature. Beside trigger revalidation and reread SLURM, also a local cache cleanup could be done.

If it also would reread the json configuration file, that would be even better, but that probably adds additional complexity.

You're right, it does add complexity. Just giving it a quick thought, if we don't want to alter the RTR session data, some of the server.* args shouldn't be reloaded (i.e. port and address); so, (I believe) FORT should reload the whole configuration file, or nothing at all.

I'll keep this issue open since this feature will be added to our TODO list.

pcarana avatar Nov 03 '20 14:11 pcarana