Open denkv opened 6 years ago
So we should check in PlatformController::receiveCommand
if provided session ID is the same as currently running experiment ID, and reject all calls where it isn't.
That will cover DOCKER_CONTAINER_START
, DOCKER_CONTAINER_STOP
, BENCHMARK_READY_SIGNAL
, SYSTEM_READY_SIGNAL
, TASK_GENERATION_FINISHED
, BENCHMARK_FINISHED_SIGNAL
, REQUEST_SYSTEM_RESOURCES_USAGE
.
Is there any other way for experiments to communicate with platform? @MichaelRoeder
No. We only have to add the check to this method.
Is this not merged?
When platform is restarted while there is a running experiment, platform would still create containers on request (even if platform doesn't know about that experiment). Check if same happens when storing experiment results etc.