{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/comments/36830170","id":36830170,"diff_hunk":"@@ -101,6 +101,37 @@ CREATE TABLE IF NOT EXISTS MB_QUEUE_COUNTER (\n                         PRIMARY KEY (QUEUE_NAME) \n ) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n \n+CREATE TABLE IF NOT EXISTS MB_SLOT (\n+                        SLOT_ID bigint(11) NOT NULL AUTO_INCREMENT,\n+                        START_MESSAGE_ID bigint(20) NOT NULL,\n+                        END_MESSAGE_ID bigint(20) NOT NULL,\n+                        STORAGE_QUEUE_NAME varchar(100) NOT NULL,\n+                        SLOT_STATE tinyint(4) NOT NULL DEFAULT '1',\n+                        ASSIGNED_NODE_ID varchar(512) DEFAULT NULL,\n+                        ASSIGNED_QUEUE_NAME varchar(512) DEFAULT NULL,\n+                        PRIMARY KEY (SLOT_ID)\n+) ENGINE=MyISAM DEFAULT CHARSET=latin1;\n+\n+CREATE TABLE IF NOT EXISTS MB_SLOT_MESSAGE_ID (\n+                        QUEUE_NAME varchar(512) NOT NULL,\n+                        MESSAGE_ID bigint(20) NOT NULL,\n+                        PRIMARY KEY (QUEUE_NAME,MESSAGE_ID)\n+) ENGINE=MyISAM DEFAULT CHARSET=latin1;\n+\n+CREATE TABLE IF NOT EXISTS MB_NODE_TO_LAST_PUBLISHED_ID (\n+                        NODE_ID varchar(512) NOT NULL,\n+                        MESSAGE_ID bigint(20) NOT NULL,\n+                        PRIMARY KEY (NODE_ID)\n+) ENGINE=MyISAM DEFAULT CHARSET=latin1;","path":"features/andes/org.wso2.carbon.andes.server.feature/resources/dbscripts/mysql-mb.sql","position":25,"original_position":25,"commit_id":"4d68cca7ca5099b636ac316bfc4782bab12ce7e6","original_commit_id":"4d68cca7ca5099b636ac316bfc4782bab12ce7e6","user":{"login":"AnujaLK","id":484263,"avatar_url":"https://avatars.githubusercontent.com/u/484263?v=3","gravatar_id":"","url":"https://api.github.com/users/AnujaLK","html_url":"https://github.com/AnujaLK","followers_url":"https://api.github.com/users/AnujaLK/followers","following_url":"https://api.github.com/users/AnujaLK/following{/other_user}","gists_url":"https://api.github.com/users/AnujaLK/gists{/gist_id}","starred_url":"https://api.github.com/users/AnujaLK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnujaLK/subscriptions","organizations_url":"https://api.github.com/users/AnujaLK/orgs","repos_url":"https://api.github.com/users/AnujaLK/repos","events_url":"https://api.github.com/users/AnujaLK/events{/privacy}","received_events_url":"https://api.github.com/users/AnujaLK/received_events","type":"User","site_admin":false},"body":"Fixed with PR https://github.com/wso2/carbon-business-messaging/pull/118","created_at":"2015-08-12T06:35:29Z","updated_at":"2015-08-12T06:35:29Z","html_url":"https://github.com/wso2/carbon-business-messaging/pull/42#discussion_r36830170","pull_request_url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/comments/36830170"},"html":{"href":"https://github.com/wso2/carbon-business-messaging/pull/42#discussion_r36830170"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/42","id":33736918,"html_url":"https://github.com/wso2/carbon-business-messaging/pull/42","diff_url":"https://github.com/wso2/carbon-business-messaging/pull/42.diff","patch_url":"https://github.com/wso2/carbon-business-messaging/pull/42.patch","issue_url":"https://api.github.com/repos/wso2/carbon-business-messaging/issues/42","number":42,"state":"closed","locked":false,"title":"RDBMS slot information database tables","user":{"login":"AnujaLK","id":484263,"avatar_url":"https://avatars.githubusercontent.com/u/484263?v=3","gravatar_id":"","url":"https://api.github.com/users/AnujaLK","html_url":"https://github.com/AnujaLK","followers_url":"https://api.github.com/users/AnujaLK/followers","following_url":"https://api.github.com/users/AnujaLK/following{/other_user}","gists_url":"https://api.github.com/users/AnujaLK/gists{/gist_id}","starred_url":"https://api.github.com/users/AnujaLK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnujaLK/subscriptions","organizations_url":"https://api.github.com/users/AnujaLK/orgs","repos_url":"https://api.github.com/users/AnujaLK/repos","events_url":"https://api.github.com/users/AnujaLK/events{/privacy}","received_events_url":"https://api.github.com/users/AnujaLK/received_events","type":"User","site_admin":false},"body":"RDBMS slot information database tables\r\n\r\nhttps://wso2.org/jira/browse/MB-1149","created_at":"2015-04-21T07:58:46Z","updated_at":"2015-08-12T06:35:29Z","closed_at":"2015-07-02T10:08:30Z","merged_at":"2015-07-02T10:08:30Z","merge_commit_sha":"f6107b3ab6af87cdba862f94f1c25a0c9987f8ae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/42/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/42/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-business-messaging/issues/42/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-business-messaging/statuses/4d68cca7ca5099b636ac316bfc4782bab12ce7e6","head":{"label":"AnujaLK:slot-info","ref":"slot-info","sha":"4d68cca7ca5099b636ac316bfc4782bab12ce7e6","user":{"login":"AnujaLK","id":484263,"avatar_url":"https://avatars.githubusercontent.com/u/484263?v=3","gravatar_id":"","url":"https://api.github.com/users/AnujaLK","html_url":"https://github.com/AnujaLK","followers_url":"https://api.github.com/users/AnujaLK/followers","following_url":"https://api.github.com/users/AnujaLK/following{/other_user}","gists_url":"https://api.github.com/users/AnujaLK/gists{/gist_id}","starred_url":"https://api.github.com/users/AnujaLK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnujaLK/subscriptions","organizations_url":"https://api.github.com/users/AnujaLK/orgs","repos_url":"https://api.github.com/users/AnujaLK/repos","events_url":"https://api.github.com/users/AnujaLK/events{/privacy}","received_events_url":"https://api.github.com/users/AnujaLK/received_events","type":"User","site_admin":false},"repo":{"id":34241925,"name":"carbon-business-messaging","full_name":"AnujaLK/carbon-business-messaging","owner":{"login":"AnujaLK","id":484263,"avatar_url":"https://avatars.githubusercontent.com/u/484263?v=3","gravatar_id":"","url":"https://api.github.com/users/AnujaLK","html_url":"https://github.com/AnujaLK","followers_url":"https://api.github.com/users/AnujaLK/followers","following_url":"https://api.github.com/users/AnujaLK/following{/other_user}","gists_url":"https://api.github.com/users/AnujaLK/gists{/gist_id}","starred_url":"https://api.github.com/users/AnujaLK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnujaLK/subscriptions","organizations_url":"https://api.github.com/users/AnujaLK/orgs","repos_url":"https://api.github.com/users/AnujaLK/repos","events_url":"https://api.github.com/users/AnujaLK/events{/privacy}","received_events_url":"https://api.github.com/users/AnujaLK/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AnujaLK/carbon-business-messaging","description":"","fork":true,"url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging","forks_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/forks","keys_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/teams","hooks_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/hooks","issue_events_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/issues/events{/number}","events_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/events","assignees_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/assignees{/user}","branches_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/branches{/branch}","tags_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/tags","blobs_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/git/refs{/sha}","trees_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/statuses/{sha}","languages_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/languages","stargazers_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/stargazers","contributors_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/contributors","subscribers_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/subscribers","subscription_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/subscription","commits_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/commits{/sha}","git_commits_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/git/commits{/sha}","comments_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/comments{/number}","issue_comment_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/issues/comments{/number}","contents_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/contents/{+path}","compare_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/merges","archive_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/downloads","issues_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/issues{/number}","pulls_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/pulls{/number}","milestones_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/milestones{/number}","notifications_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/labels{/name}","releases_url":"https://api.github.com/repos/AnujaLK/carbon-business-messaging/releases{/id}","created_at":"2015-04-20T06:20:51Z","updated_at":"2015-04-20T06:20:52Z","pushed_at":"2015-08-12T06:33:23Z","git_url":"git://github.com/AnujaLK/carbon-business-messaging.git","ssh_url":"git@github.com:AnujaLK/carbon-business-messaging.git","clone_url":"https://github.com/AnujaLK/carbon-business-messaging.git","svn_url":"https://github.com/AnujaLK/carbon-business-messaging","homepage":null,"size":1456,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"25074803e79fb9d986085a6ade5361bce3dedea0","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":16577142,"name":"carbon-business-messaging","full_name":"wso2/carbon-business-messaging","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-business-messaging","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-business-messaging","forks_url":"https://api.github.com/repos/wso2/carbon-business-messaging/forks","keys_url":"https://api.github.com/repos/wso2/carbon-business-messaging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-business-messaging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-business-messaging/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-business-messaging/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-business-messaging/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-business-messaging/events","assignees_url":"https://api.github.com/repos/wso2/carbon-business-messaging/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-business-messaging/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-business-messaging/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-business-messaging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-business-messaging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-business-messaging/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-business-messaging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-business-messaging/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-business-messaging/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-business-messaging/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-business-messaging/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-business-messaging/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-business-messaging/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-business-messaging/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-business-messaging/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-business-messaging/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-business-messaging/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-business-messaging/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-business-messaging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-business-messaging/merges","archive_url":"https://api.github.com/repos/wso2/carbon-business-messaging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-business-messaging/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-business-messaging/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-business-messaging/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-business-messaging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-business-messaging/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-business-messaging/releases{/id}","created_at":"2014-02-06T11:21:27Z","updated_at":"2015-05-05T14:31:40Z","pushed_at":"2015-08-12T06:35:10Z","git_url":"git://github.com/wso2/carbon-business-messaging.git","ssh_url":"git@github.com:wso2/carbon-business-messaging.git","clone_url":"https://github.com/wso2/carbon-business-messaging.git","svn_url":"https://github.com/wso2/carbon-business-messaging","homepage":null,"size":2204,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":2,"forks":32,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/42"},"html":{"href":"https://github.com/wso2/carbon-business-messaging/pull/42"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/issues/42"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-business-messaging/statuses/4d68cca7ca5099b636ac316bfc4782bab12ce7e6"}}}}