{"action":"reopened","issue":{"url":"https://api.github.com/repos/sbsdev/mdr2/issues/44","labels_url":"https://api.github.com/repos/sbsdev/mdr2/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/sbsdev/mdr2/issues/44/comments","events_url":"https://api.github.com/repos/sbsdev/mdr2/issues/44/events","html_url":"https://github.com/sbsdev/mdr2/issues/44","id":71834127,"number":44,"title":"Not all files are deleted upon archiving","user":{"login":"egli","id":119274,"avatar_url":"https://avatars.githubusercontent.com/u/119274?v=3","gravatar_id":"","url":"https://api.github.com/users/egli","html_url":"https://github.com/egli","followers_url":"https://api.github.com/users/egli/followers","following_url":"https://api.github.com/users/egli/following{/other_user}","gists_url":"https://api.github.com/users/egli/gists{/gist_id}","starred_url":"https://api.github.com/users/egli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egli/subscriptions","organizations_url":"https://api.github.com/users/egli/orgs","repos_url":"https://api.github.com/users/egli/repos","events_url":"https://api.github.com/users/egli/events{/privacy}","received_events_url":"https://api.github.com/users/egli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sbsdev/mdr2/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-29T10:07:53Z","updated_at":"2015-04-30T13:17:58Z","closed_at":null,"body":"Under some circumstances we get the following entry in the log:\r\n```\r\n 2015-04-29 08:03:38,863 ERROR [mdr2.util] (Thread-464 (HornetQ-client-global-threads-410738640)) #<DirectoryNotEmptyException java.nio.file.DirectoryNotEmptyException: /var/lib/mdr2/recorded/20111>\r\n```\r\nThis seems to be a problem in conjunction with nfs as there are some `.nfsxxxxxxx` files in the directory. Maybe we need to put a delay in the tree walker that does the delete? Or we could have a reaper that regularly cleans directories of archived productions."}}