We should have an API method which deletes all information from the state database and repopulates it. This should be as simple as running the DELETE FROM instances; DELETE FROM spotrequests query immediately before running the HouseKeeper.sweep() method which repopulates it.
There should /v1/internal/clear-state, /v1/internal/reset-state and /v1/internal/force-housekeeping
We should have an API method which deletes all information from the state database and repopulates it. This should be as simple as running the
DELETE FROM instances; DELETE FROM spotrequests
query immediately before running theHouseKeeper.sweep()
method which repopulates it.There should
/v1/internal/clear-state
,/v1/internal/reset-state
and/v1/internal/force-housekeeping