{"action":"closed","number":686,"pull_request":{"url":"https://api.github.com/repos/PBSPro/pbspro/pulls/686","id":187416093,"html_url":"https://github.com/PBSPro/pbspro/pull/686","diff_url":"https://github.com/PBSPro/pbspro/pull/686.diff","patch_url":"https://github.com/PBSPro/pbspro/pull/686.patch","issue_url":"https://api.github.com/repos/PBSPro/pbspro/issues/686","number":686,"state":"closed","locked":false,"title":"Job IDs are not unique after a server restart","user":{"login":"Shrini-h","id":30307577,"avatar_url":"https://avatars1.githubusercontent.com/u/30307577?v=4","gravatar_id":"","url":"https://api.github.com/users/Shrini-h","html_url":"https://github.com/Shrini-h","followers_url":"https://api.github.com/users/Shrini-h/followers","following_url":"https://api.github.com/users/Shrini-h/following{/other_user}","gists_url":"https://api.github.com/users/Shrini-h/gists{/gist_id}","starred_url":"https://api.github.com/users/Shrini-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shrini-h/subscriptions","organizations_url":"https://api.github.com/users/Shrini-h/orgs","repos_url":"https://api.github.com/users/Shrini-h/repos","events_url":"https://api.github.com/users/Shrini-h/events{/privacy}","received_events_url":"https://api.github.com/users/Shrini-h/received_events","type":"User","site_admin":false},"body":"<!--- Please review your changes in preview mode -->\r\n<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n#### Bug Description\r\n* *Job IDs are not unique after a server restart*\r\n* *Steps to easily reproduce the problem;*\r\n1. Submit few jobs (note the last jobid number)\r\n2. Delete all jobs (qdel `qselect` )\r\n3. Kill and restart pbs_server\r\n4. submit another job\r\n5. the jobid number of this new job will be a repeat\r\n\r\n#### Affected Platform(s)\r\n* *All*\r\n\r\n#### Cause / Analysis / Design\r\nhttps://github.com/PBSPro/pbspro/commit/d40069815cb9a61d90e33d269a637c402573473e#diff-4848154f487e506f0dec13a531dc2960\r\n\r\n#### Solution Description\r\nrevert https://github.com/PBSPro/pbspro/commit/d40069815cb9a61d90e33d269a637c402573473e#diff-4848154f487e506f0dec13a531dc2960\r\n\r\n#### Testing logs/output\r\n[test_log.txt](https://github.com/PBSPro/pbspro/files/1994566/test_log.txt)\r\n\r\n\r\n#### Checklist:\r\n<!--- Use the preview button to see the checkboxes/links properly. -->\r\n<!--- Go over the following points, and put an `x` (without spaces around it) in the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] I have joined the **[pbspro community forum](http://community.pbspro.org/)**.\r\n- [x] My pull request contains a **single, signed** commit. See **[setting up gpg signature](https://pbspro.atlassian.net/wiki/display/DG/Signing+Your+Git+Commits)**.\r\n- [x] My code follows the **[coding style](https://pbspro.atlassian.net/wiki/display/DG/Coding+Standards)** of this project.\r\n- [ ] My change requires project documentation. See **[required documentation checklist](https://pbspro.atlassian.net/wiki/display/DG/Checklist+for+Developing+Features+and+Bug+Fixes)** for details.\r\n   - [ ] I have added documentation in the **[project documentation area](https://pbspro.atlassian.net/wiki/display/PD)**.\r\n- [ ] I have added new **PTL test(s) to my commit**. (See **[using PTL for testing](https://pbspro.atlassian.net/wiki/display/DG/Using+PTL+for+Testing)**) *(or)*\r\n   - [ ] I have added  **manual test(s) to this pull request and explained why PTL is not appropriate** for this case.\r\n- [ ] All new and existing automated tests have passed. (See **[running automated PTL tests](https://pbspro.atlassian.net/wiki/display/DG/PTL+Quick+Start+Guide)**).\r\n- [x] I have attached **test logs to this pull request** as evidence of testing/verification.\r\n\r\n\r\n__***For further information please visit the [Developer Guide Home](https://pbspro.atlassian.net/wiki/display/DG/Developer+Guide+Home).***__\r\n","created_at":"2018-05-11T09:46:04Z","updated_at":"2018-05-11T10:37:15Z","closed_at":"2018-05-11T10:37:15Z","merged_at":"2018-05-11T10:37:14Z","merge_commit_sha":"61397fd10dd9de8391db0fa15087cdd156eac1a9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PBSPro/pbspro/pulls/686/commits","review_comments_url":"https://api.github.com/repos/PBSPro/pbspro/pulls/686/comments","review_comment_url":"https://api.github.com/repos/PBSPro/pbspro/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PBSPro/pbspro/issues/686/comments","statuses_url":"https://api.github.com/repos/PBSPro/pbspro/statuses/61397fd10dd9de8391db0fa15087cdd156eac1a9","head":{"label":"Shrini-h:dev_jobid_not_unique_1811","ref":"dev_jobid_not_unique_1811","sha":"61397fd10dd9de8391db0fa15087cdd156eac1a9","user":{"login":"Shrini-h","id":30307577,"avatar_url":"https://avatars1.githubusercontent.com/u/30307577?v=4","gravatar_id":"","url":"https://api.github.com/users/Shrini-h","html_url":"https://github.com/Shrini-h","followers_url":"https://api.github.com/users/Shrini-h/followers","following_url":"https://api.github.com/users/Shrini-h/following{/other_user}","gists_url":"https://api.github.com/users/Shrini-h/gists{/gist_id}","starred_url":"https://api.github.com/users/Shrini-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shrini-h/subscriptions","organizations_url":"https://api.github.com/users/Shrini-h/orgs","repos_url":"https://api.github.com/users/Shrini-h/repos","events_url":"https://api.github.com/users/Shrini-h/events{/privacy}","received_events_url":"https://api.github.com/users/Shrini-h/received_events","type":"User","site_admin":false},"repo":{"id":97791084,"name":"pbspro","full_name":"Shrini-h/pbspro","owner":{"login":"Shrini-h","id":30307577,"avatar_url":"https://avatars1.githubusercontent.com/u/30307577?v=4","gravatar_id":"","url":"https://api.github.com/users/Shrini-h","html_url":"https://github.com/Shrini-h","followers_url":"https://api.github.com/users/Shrini-h/followers","following_url":"https://api.github.com/users/Shrini-h/following{/other_user}","gists_url":"https://api.github.com/users/Shrini-h/gists{/gist_id}","starred_url":"https://api.github.com/users/Shrini-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shrini-h/subscriptions","organizations_url":"https://api.github.com/users/Shrini-h/orgs","repos_url":"https://api.github.com/users/Shrini-h/repos","events_url":"https://api.github.com/users/Shrini-h/events{/privacy}","received_events_url":"https://api.github.com/users/Shrini-h/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Shrini-h/pbspro","description":"An HPC workload manager and job scheduler for desktops, clusters, and clouds.","fork":true,"url":"https://api.github.com/repos/Shrini-h/pbspro","forks_url":"https://api.github.com/repos/Shrini-h/pbspro/forks","keys_url":"https://api.github.com/repos/Shrini-h/pbspro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shrini-h/pbspro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shrini-h/pbspro/teams","hooks_url":"https://api.github.com/repos/Shrini-h/pbspro/hooks","issue_events_url":"https://api.github.com/repos/Shrini-h/pbspro/issues/events{/number}","events_url":"https://api.github.com/repos/Shrini-h/pbspro/events","assignees_url":"https://api.github.com/repos/Shrini-h/pbspro/assignees{/user}","branches_url":"https://api.github.com/repos/Shrini-h/pbspro/branches{/branch}","tags_url":"https://api.github.com/repos/Shrini-h/pbspro/tags","blobs_url":"https://api.github.com/repos/Shrini-h/pbspro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shrini-h/pbspro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shrini-h/pbspro/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shrini-h/pbspro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shrini-h/pbspro/statuses/{sha}","languages_url":"https://api.github.com/repos/Shrini-h/pbspro/languages","stargazers_url":"https://api.github.com/repos/Shrini-h/pbspro/stargazers","contributors_url":"https://api.github.com/repos/Shrini-h/pbspro/contributors","subscribers_url":"https://api.github.com/repos/Shrini-h/pbspro/subscribers","subscription_url":"https://api.github.com/repos/Shrini-h/pbspro/subscription","commits_url":"https://api.github.com/repos/Shrini-h/pbspro/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shrini-h/pbspro/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shrini-h/pbspro/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shrini-h/pbspro/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shrini-h/pbspro/contents/{+path}","compare_url":"https://api.github.com/repos/Shrini-h/pbspro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shrini-h/pbspro/merges","archive_url":"https://api.github.com/repos/Shrini-h/pbspro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shrini-h/pbspro/downloads","issues_url":"https://api.github.com/repos/Shrini-h/pbspro/issues{/number}","pulls_url":"https://api.github.com/repos/Shrini-h/pbspro/pulls{/number}","milestones_url":"https://api.github.com/repos/Shrini-h/pbspro/milestones{/number}","notifications_url":"https://api.github.com/repos/Shrini-h/pbspro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shrini-h/pbspro/labels{/name}","releases_url":"https://api.github.com/repos/Shrini-h/pbspro/releases{/id}","deployments_url":"https://api.github.com/repos/Shrini-h/pbspro/deployments","created_at":"2017-07-20T04:39:41Z","updated_at":"2018-05-11T09:27:37Z","pushed_at":"2018-05-11T09:43:40Z","git_url":"git://github.com/Shrini-h/pbspro.git","ssh_url":"git@github.com:Shrini-h/pbspro.git","clone_url":"https://github.com/Shrini-h/pbspro.git","svn_url":"https://github.com/Shrini-h/pbspro","homepage":"www.pbspro.org","size":15214,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"PBSPro:release_18_1_branch","ref":"release_18_1_branch","sha":"f976708d5a8f9e71e90b6974acfa7237ffb382c6","user":{"login":"PBSPro","id":19280436,"avatar_url":"https://avatars2.githubusercontent.com/u/19280436?v=4","gravatar_id":"","url":"https://api.github.com/users/PBSPro","html_url":"https://github.com/PBSPro","followers_url":"https://api.github.com/users/PBSPro/followers","following_url":"https://api.github.com/users/PBSPro/following{/other_user}","gists_url":"https://api.github.com/users/PBSPro/gists{/gist_id}","starred_url":"https://api.github.com/users/PBSPro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PBSPro/subscriptions","organizations_url":"https://api.github.com/users/PBSPro/orgs","repos_url":"https://api.github.com/users/PBSPro/repos","events_url":"https://api.github.com/users/PBSPro/events{/privacy}","received_events_url":"https://api.github.com/users/PBSPro/received_events","type":"Organization","site_admin":false},"repo":{"id":59082072,"name":"pbspro","full_name":"PBSPro/pbspro","owner":{"login":"PBSPro","id":19280436,"avatar_url":"https://avatars2.githubusercontent.com/u/19280436?v=4","gravatar_id":"","url":"https://api.github.com/users/PBSPro","html_url":"https://github.com/PBSPro","followers_url":"https://api.github.com/users/PBSPro/followers","following_url":"https://api.github.com/users/PBSPro/following{/other_user}","gists_url":"https://api.github.com/users/PBSPro/gists{/gist_id}","starred_url":"https://api.github.com/users/PBSPro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PBSPro/subscriptions","organizations_url":"https://api.github.com/users/PBSPro/orgs","repos_url":"https://api.github.com/users/PBSPro/repos","events_url":"https://api.github.com/users/PBSPro/events{/privacy}","received_events_url":"https://api.github.com/users/PBSPro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PBSPro/pbspro","description":"An HPC workload manager and job scheduler for desktops, clusters, and clouds.","fork":false,"url":"https://api.github.com/repos/PBSPro/pbspro","forks_url":"https://api.github.com/repos/PBSPro/pbspro/forks","keys_url":"https://api.github.com/repos/PBSPro/pbspro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PBSPro/pbspro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PBSPro/pbspro/teams","hooks_url":"https://api.github.com/repos/PBSPro/pbspro/hooks","issue_events_url":"https://api.github.com/repos/PBSPro/pbspro/issues/events{/number}","events_url":"https://api.github.com/repos/PBSPro/pbspro/events","assignees_url":"https://api.github.com/repos/PBSPro/pbspro/assignees{/user}","branches_url":"https://api.github.com/repos/PBSPro/pbspro/branches{/branch}","tags_url":"https://api.github.com/repos/PBSPro/pbspro/tags","blobs_url":"https://api.github.com/repos/PBSPro/pbspro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PBSPro/pbspro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PBSPro/pbspro/git/refs{/sha}","trees_url":"https://api.github.com/repos/PBSPro/pbspro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PBSPro/pbspro/statuses/{sha}","languages_url":"https://api.github.com/repos/PBSPro/pbspro/languages","stargazers_url":"https://api.github.com/repos/PBSPro/pbspro/stargazers","contributors_url":"https://api.github.com/repos/PBSPro/pbspro/contributors","subscribers_url":"https://api.github.com/repos/PBSPro/pbspro/subscribers","subscription_url":"https://api.github.com/repos/PBSPro/pbspro/subscription","commits_url":"https://api.github.com/repos/PBSPro/pbspro/commits{/sha}","git_commits_url":"https://api.github.com/repos/PBSPro/pbspro/git/commits{/sha}","comments_url":"https://api.github.com/repos/PBSPro/pbspro/comments{/number}","issue_comment_url":"https://api.github.com/repos/PBSPro/pbspro/issues/comments{/number}","contents_url":"https://api.github.com/repos/PBSPro/pbspro/contents/{+path}","compare_url":"https://api.github.com/repos/PBSPro/pbspro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PBSPro/pbspro/merges","archive_url":"https://api.github.com/repos/PBSPro/pbspro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PBSPro/pbspro/downloads","issues_url":"https://api.github.com/repos/PBSPro/pbspro/issues{/number}","pulls_url":"https://api.github.com/repos/PBSPro/pbspro/pulls{/number}","milestones_url":"https://api.github.com/repos/PBSPro/pbspro/milestones{/number}","notifications_url":"https://api.github.com/repos/PBSPro/pbspro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PBSPro/pbspro/labels{/name}","releases_url":"https://api.github.com/repos/PBSPro/pbspro/releases{/id}","deployments_url":"https://api.github.com/repos/PBSPro/pbspro/deployments","created_at":"2016-05-18T04:31:29Z","updated_at":"2018-05-11T09:56:52Z","pushed_at":"2018-05-11T10:37:14Z","git_url":"git://github.com/PBSPro/pbspro.git","ssh_url":"git@github.com:PBSPro/pbspro.git","clone_url":"https://github.com/PBSPro/pbspro.git","svn_url":"https://github.com/PBSPro/pbspro","homepage":"www.pbspro.org","size":15125,"stargazers_count":162,"watchers_count":162,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":133,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":133,"open_issues":8,"watchers":162,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PBSPro/pbspro/pulls/686"},"html":{"href":"https://github.com/PBSPro/pbspro/pull/686"},"issue":{"href":"https://api.github.com/repos/PBSPro/pbspro/issues/686"},"comments":{"href":"https://api.github.com/repos/PBSPro/pbspro/issues/686/comments"},"review_comments":{"href":"https://api.github.com/repos/PBSPro/pbspro/pulls/686/comments"},"review_comment":{"href":"https://api.github.com/repos/PBSPro/pbspro/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PBSPro/pbspro/pulls/686/commits"},"statuses":{"href":"https://api.github.com/repos/PBSPro/pbspro/statuses/61397fd10dd9de8391db0fa15087cdd156eac1a9"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"subhasisb","id":15310678,"avatar_url":"https://avatars2.githubusercontent.com/u/15310678?v=4","gravatar_id":"","url":"https://api.github.com/users/subhasisb","html_url":"https://github.com/subhasisb","followers_url":"https://api.github.com/users/subhasisb/followers","following_url":"https://api.github.com/users/subhasisb/following{/other_user}","gists_url":"https://api.github.com/users/subhasisb/gists{/gist_id}","starred_url":"https://api.github.com/users/subhasisb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subhasisb/subscriptions","organizations_url":"https://api.github.com/users/subhasisb/orgs","repos_url":"https://api.github.com/users/subhasisb/repos","events_url":"https://api.github.com/users/subhasisb/events{/privacy}","received_events_url":"https://api.github.com/users/subhasisb/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":16,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"subhasisb"}}