Bug #3352

[SDK] After ^C, arv-put sometimes exits but leaves processes/threads behind that keep the resume file locked, preventing retrying the aborted arv-put.

Added by Tom Clegg over 2 years ago. Updated about 1 month ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Story points1.0
Velocity based estimate-

History

#1 Updated by Tom Clegg over 2 years ago

  • Target version set to Arvados Future Sprints

#2 Updated by Brett Smith over 2 years ago

I think the most likely explanation is that these are KeepWriterThreads (see keep.py) that are still in the middle of I/O and so don't get the SIGINT. At the very least, arv-put should put up some kind of "cleaning up" message and wait until they're done. If it can encourage the threads to end so the user can restart sooner, that's even better. If not, another alternative is to at least let go of the cache lock--after we do our last write, it's okay for another arv-put to take it over.

#3 Updated by Tom Clegg about 1 month ago

  • Status changed from New to Closed

#4 Updated by Tom Clegg about 1 month ago

  • Target version deleted (Arvados Future Sprints)

Also available in: Atom PDF