Replies: 1 comment 5 replies
-
I can also see that this comment was added 8 years ago in coordinatoy.py AcquirePlace function by Jan, so there was a plan to do that.
Anyone has any opinion on that ? @Bastian-Krause @Emantor @JoshuaWatt @rohieb @ejoerns |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @jluebbe,
The current setup for LabGrid does not allow detecting an aggressively killed client.
When we reserve and lock a reservation, if for some reason the client is aggressively killed we will not get to the unlock and therefore the reservation will remain locked forever without knowing if we should release it.
In order to solve it we though to hold the reservation's network connection open: if the client is killed the connection will be dropped and the reservation/lock removed. So the lock command remains waiting and on ctrl+c event is will be unlocked.
What's your opinion regarding that?
Something like: labgrid-client -p+ lock --hold
on labgrid-client:
On labgrid-coordinator:
Beta Was this translation helpful? Give feedback.
All reactions