{"action":"closed","issue":{"url":"https://api.github.com/repos/projecthydra/sufia/issues/1510","labels_url":"https://api.github.com/repos/projecthydra/sufia/issues/1510/labels{/name}","comments_url":"https://api.github.com/repos/projecthydra/sufia/issues/1510/comments","events_url":"https://api.github.com/repos/projecthydra/sufia/issues/1510/events","html_url":"https://github.com/projecthydra/sufia/issues/1510","id":126383961,"number":1510,"title":"Default minter-state file location in /tmp is likely to cause problems","user":{"login":"ojlyytinen","id":12910310,"avatar_url":"https://avatars.githubusercontent.com/u/12910310?v=3","gravatar_id":"","url":"https://api.github.com/users/ojlyytinen","html_url":"https://github.com/ojlyytinen","followers_url":"https://api.github.com/users/ojlyytinen/followers","following_url":"https://api.github.com/users/ojlyytinen/following{/other_user}","gists_url":"https://api.github.com/users/ojlyytinen/gists{/gist_id}","starred_url":"https://api.github.com/users/ojlyytinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojlyytinen/subscriptions","organizations_url":"https://api.github.com/users/ojlyytinen/orgs","repos_url":"https://api.github.com/users/ojlyytinen/repos","events_url":"https://api.github.com/users/ojlyytinen/events{/privacy}","received_events_url":"https://api.github.com/users/ojlyytinen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/projecthydra/sufia/labels/documentation","name":"documentation","color":"009800"},{"url":"https://api.github.com/repos/projecthydra/sufia/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/projecthydra/sufia/labels/migration","name":"migration","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/projecthydra/sufia/milestones/11","html_url":"https://github.com/projecthydra/sufia/milestones/7.0.0","labels_url":"https://api.github.com/repos/projecthydra/sufia/milestones/11/labels","id":1459995,"number":11,"title":"7.0.0","description":"","creator":{"login":"mjgiarlo","id":131982,"avatar_url":"https://avatars.githubusercontent.com/u/131982?v=3","gravatar_id":"","url":"https://api.github.com/users/mjgiarlo","html_url":"https://github.com/mjgiarlo","followers_url":"https://api.github.com/users/mjgiarlo/followers","following_url":"https://api.github.com/users/mjgiarlo/following{/other_user}","gists_url":"https://api.github.com/users/mjgiarlo/gists{/gist_id}","starred_url":"https://api.github.com/users/mjgiarlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjgiarlo/subscriptions","organizations_url":"https://api.github.com/users/mjgiarlo/orgs","repos_url":"https://api.github.com/users/mjgiarlo/repos","events_url":"https://api.github.com/users/mjgiarlo/events{/privacy}","received_events_url":"https://api.github.com/users/mjgiarlo/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":24,"state":"open","created_at":"2015-12-14T19:17:36Z","updated_at":"2016-01-25T18:40:03Z","due_on":"2016-03-19T07:00:00Z","closed_at":null},"comments":32,"created_at":"2016-01-13T10:07:44Z","updated_at":"2016-01-25T18:40:03Z","closed_at":"2016-01-25T18:40:03Z","body":"I originally accidentally posted something in here which was meant for our internal github and then deleted it. But since this has now sparked a bit of a discussion, I'll just summarise here what it was about.\r\n\r\nSufia saves ID minter state in /tmp/minter-state by default. Because this is under /tmp, it's very likely that it gets deleted by something at some point. A new minter state will automatically be generated but it will generate same IDs that have already been used, unless you have a really small number of records (as in less than a hundred). This may then cause various problems, although a new version of Active Fedora will skip over IDs if they exist (or have existed) in Fedora before."}}