let ajax delete non-latest data
Created by: jorana
problem Some times bootstrax crashes. Hen this happens the data is not always cleaned (e.g. when there are non captured exceptions).
This leads to multiple entries of a run in the rundoc. This confuses Admix as it wonders who is the latest?
solution
Check in the rundoc which bootstrax has set this run to done
Implementation This is fairly easy to add to Ajax, just look at entries in the rundoc where it was not the one who set the status to done. If this is found, do delete the data here.
test Ran on eb0:
ajax --mode clean_all --execute --ask_confirm