{"action":"created","comment":{"url":"https://api.github.com/repos/apache/apex-core/pulls/comments/67062269","id":67062269,"diff_hunk":"@@ -769,7 +769,11 @@ public void processHeartbeatResponse(ContainerHeartbeatResponse rsp)\n     }\n \n     if (rsp.committedWindowId != lastCommittedWindowId) {\n+\n       lastCommittedWindowId = rsp.committedWindowId;\n+\n+      bufferServer.purge(lastCommittedWindowId);","path":"engine/src/main/java/com/datatorrent/stram/engine/StreamingContainer.java","position":7,"original_position":7,"commit_id":"c41cd38cce8c9772aa82c37acad0b6ebc4bec0e0","original_commit_id":"c41cd38cce8c9772aa82c37acad0b6ebc4bec0e0","user":{"login":"sandeshh","id":3878507,"avatar_url":"https://avatars.githubusercontent.com/u/3878507?v=3","gravatar_id":"","url":"https://api.github.com/users/sandeshh","html_url":"https://github.com/sandeshh","followers_url":"https://api.github.com/users/sandeshh/followers","following_url":"https://api.github.com/users/sandeshh/following{/other_user}","gists_url":"https://api.github.com/users/sandeshh/gists{/gist_id}","starred_url":"https://api.github.com/users/sandeshh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandeshh/subscriptions","organizations_url":"https://api.github.com/users/sandeshh/orgs","repos_url":"https://api.github.com/users/sandeshh/repos","events_url":"https://api.github.com/users/sandeshh/events{/privacy}","received_events_url":"https://api.github.com/users/sandeshh/received_events","type":"User","site_admin":false},"body":"I don't think we have any plans to run BufferServer in different process/container. There is Jira to replace the loopback  communication between BufferServer and the operators with a queue. So considering that points, I used this approach.","created_at":"2016-06-14T21:37:52Z","updated_at":"2016-06-14T21:37:52Z","html_url":"https://github.com/apache/apex-core/pull/350#discussion_r67062269","pull_request_url":"https://api.github.com/repos/apache/apex-core/pulls/350","_links":{"self":{"href":"https://api.github.com/repos/apache/apex-core/pulls/comments/67062269"},"html":{"href":"https://github.com/apache/apex-core/pull/350#discussion_r67062269"},"pull_request":{"href":"https://api.github.com/repos/apache/apex-core/pulls/350"}}},"pull_request":{"url":"https://api.github.com/repos/apache/apex-core/pulls/350","id":73686835,"html_url":"https://github.com/apache/apex-core/pull/350","diff_url":"https://github.com/apache/apex-core/pull/350.diff","patch_url":"https://github.com/apache/apex-core/pull/350.patch","issue_url":"https://api.github.com/repos/apache/apex-core/issues/350","number":350,"state":"open","locked":false,"title":"APEXCORE-222 Purging the stale data present in the bufferserver, dire…","user":{"login":"sandeshh","id":3878507,"avatar_url":"https://avatars.githubusercontent.com/u/3878507?v=3","gravatar_id":"","url":"https://api.github.com/users/sandeshh","html_url":"https://github.com/sandeshh","followers_url":"https://api.github.com/users/sandeshh/followers","following_url":"https://api.github.com/users/sandeshh/following{/other_user}","gists_url":"https://api.github.com/users/sandeshh/gists{/gist_id}","starred_url":"https://api.github.com/users/sandeshh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandeshh/subscriptions","organizations_url":"https://api.github.com/users/sandeshh/orgs","repos_url":"https://api.github.com/users/sandeshh/repos","events_url":"https://api.github.com/users/sandeshh/events{/privacy}","received_events_url":"https://api.github.com/users/sandeshh/received_events","type":"User","site_admin":false},"body":"…ctly from the streaming container.","created_at":"2016-06-14T06:34:37Z","updated_at":"2016-06-14T21:37:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1640750e03cee4082ec2923393978941344a9e1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/apex-core/pulls/350/commits","review_comments_url":"https://api.github.com/repos/apache/apex-core/pulls/350/comments","review_comment_url":"https://api.github.com/repos/apache/apex-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/apex-core/issues/350/comments","statuses_url":"https://api.github.com/repos/apache/apex-core/statuses/c41cd38cce8c9772aa82c37acad0b6ebc4bec0e0","head":{"label":"sandeshh:APEXCORE-222","ref":"APEXCORE-222","sha":"c41cd38cce8c9772aa82c37acad0b6ebc4bec0e0","user":{"login":"sandeshh","id":3878507,"avatar_url":"https://avatars.githubusercontent.com/u/3878507?v=3","gravatar_id":"","url":"https://api.github.com/users/sandeshh","html_url":"https://github.com/sandeshh","followers_url":"https://api.github.com/users/sandeshh/followers","following_url":"https://api.github.com/users/sandeshh/following{/other_user}","gists_url":"https://api.github.com/users/sandeshh/gists{/gist_id}","starred_url":"https://api.github.com/users/sandeshh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandeshh/subscriptions","organizations_url":"https://api.github.com/users/sandeshh/orgs","repos_url":"https://api.github.com/users/sandeshh/repos","events_url":"https://api.github.com/users/sandeshh/events{/privacy}","received_events_url":"https://api.github.com/users/sandeshh/received_events","type":"User","site_admin":false},"repo":{"id":41441124,"name":"apex-core","full_name":"sandeshh/apex-core","owner":{"login":"sandeshh","id":3878507,"avatar_url":"https://avatars.githubusercontent.com/u/3878507?v=3","gravatar_id":"","url":"https://api.github.com/users/sandeshh","html_url":"https://github.com/sandeshh","followers_url":"https://api.github.com/users/sandeshh/followers","following_url":"https://api.github.com/users/sandeshh/following{/other_user}","gists_url":"https://api.github.com/users/sandeshh/gists{/gist_id}","starred_url":"https://api.github.com/users/sandeshh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandeshh/subscriptions","organizations_url":"https://api.github.com/users/sandeshh/orgs","repos_url":"https://api.github.com/users/sandeshh/repos","events_url":"https://api.github.com/users/sandeshh/events{/privacy}","received_events_url":"https://api.github.com/users/sandeshh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sandeshh/apex-core","description":"Mirror of Apache Apex core (Incubating)","fork":true,"url":"https://api.github.com/repos/sandeshh/apex-core","forks_url":"https://api.github.com/repos/sandeshh/apex-core/forks","keys_url":"https://api.github.com/repos/sandeshh/apex-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sandeshh/apex-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sandeshh/apex-core/teams","hooks_url":"https://api.github.com/repos/sandeshh/apex-core/hooks","issue_events_url":"https://api.github.com/repos/sandeshh/apex-core/issues/events{/number}","events_url":"https://api.github.com/repos/sandeshh/apex-core/events","assignees_url":"https://api.github.com/repos/sandeshh/apex-core/assignees{/user}","branches_url":"https://api.github.com/repos/sandeshh/apex-core/branches{/branch}","tags_url":"https://api.github.com/repos/sandeshh/apex-core/tags","blobs_url":"https://api.github.com/repos/sandeshh/apex-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sandeshh/apex-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sandeshh/apex-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/sandeshh/apex-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sandeshh/apex-core/statuses/{sha}","languages_url":"https://api.github.com/repos/sandeshh/apex-core/languages","stargazers_url":"https://api.github.com/repos/sandeshh/apex-core/stargazers","contributors_url":"https://api.github.com/repos/sandeshh/apex-core/contributors","subscribers_url":"https://api.github.com/repos/sandeshh/apex-core/subscribers","subscription_url":"https://api.github.com/repos/sandeshh/apex-core/subscription","commits_url":"https://api.github.com/repos/sandeshh/apex-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/sandeshh/apex-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/sandeshh/apex-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/sandeshh/apex-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/sandeshh/apex-core/contents/{+path}","compare_url":"https://api.github.com/repos/sandeshh/apex-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sandeshh/apex-core/merges","archive_url":"https://api.github.com/repos/sandeshh/apex-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sandeshh/apex-core/downloads","issues_url":"https://api.github.com/repos/sandeshh/apex-core/issues{/number}","pulls_url":"https://api.github.com/repos/sandeshh/apex-core/pulls{/number}","milestones_url":"https://api.github.com/repos/sandeshh/apex-core/milestones{/number}","notifications_url":"https://api.github.com/repos/sandeshh/apex-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sandeshh/apex-core/labels{/name}","releases_url":"https://api.github.com/repos/sandeshh/apex-core/releases{/id}","deployments_url":"https://api.github.com/repos/sandeshh/apex-core/deployments","created_at":"2015-08-26T17:55:37Z","updated_at":"2016-06-07T17:47:42Z","pushed_at":"2016-06-14T06:33:59Z","git_url":"git://github.com/sandeshh/apex-core.git","ssh_url":"git@github.com:sandeshh/apex-core.git","clone_url":"https://github.com/sandeshh/apex-core.git","svn_url":"https://github.com/sandeshh/apex-core","homepage":null,"size":13248,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"9e89de445bcb122542b56b2b61959c8698c735f0","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":41348333,"name":"apex-core","full_name":"apache/apex-core","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/apex-core","description":"Mirror of Apache Apex core","fork":false,"url":"https://api.github.com/repos/apache/apex-core","forks_url":"https://api.github.com/repos/apache/apex-core/forks","keys_url":"https://api.github.com/repos/apache/apex-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/apex-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/apex-core/teams","hooks_url":"https://api.github.com/repos/apache/apex-core/hooks","issue_events_url":"https://api.github.com/repos/apache/apex-core/issues/events{/number}","events_url":"https://api.github.com/repos/apache/apex-core/events","assignees_url":"https://api.github.com/repos/apache/apex-core/assignees{/user}","branches_url":"https://api.github.com/repos/apache/apex-core/branches{/branch}","tags_url":"https://api.github.com/repos/apache/apex-core/tags","blobs_url":"https://api.github.com/repos/apache/apex-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/apex-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/apex-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/apex-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/apex-core/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/apex-core/languages","stargazers_url":"https://api.github.com/repos/apache/apex-core/stargazers","contributors_url":"https://api.github.com/repos/apache/apex-core/contributors","subscribers_url":"https://api.github.com/repos/apache/apex-core/subscribers","subscription_url":"https://api.github.com/repos/apache/apex-core/subscription","commits_url":"https://api.github.com/repos/apache/apex-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/apex-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/apex-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/apex-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/apex-core/contents/{+path}","compare_url":"https://api.github.com/repos/apache/apex-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/apex-core/merges","archive_url":"https://api.github.com/repos/apache/apex-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/apex-core/downloads","issues_url":"https://api.github.com/repos/apache/apex-core/issues{/number}","pulls_url":"https://api.github.com/repos/apache/apex-core/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/apex-core/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/apex-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/apex-core/labels{/name}","releases_url":"https://api.github.com/repos/apache/apex-core/releases{/id}","deployments_url":"https://api.github.com/repos/apache/apex-core/deployments","created_at":"2015-08-25T07:00:05Z","updated_at":"2016-06-14T06:14:35Z","pushed_at":"2016-06-14T06:34:37Z","git_url":"git://github.com/apache/apex-core.git","ssh_url":"git@github.com:apache/apex-core.git","clone_url":"https://github.com/apache/apex-core.git","svn_url":"https://github.com/apache/apex-core","homepage":"","size":20602,"stargazers_count":137,"watchers_count":137,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":90,"mirror_url":"git://git.apache.org/incubator-apex-core.git","open_issues_count":7,"forks":90,"open_issues":7,"watchers":137,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/apex-core/pulls/350"},"html":{"href":"https://github.com/apache/apex-core/pull/350"},"issue":{"href":"https://api.github.com/repos/apache/apex-core/issues/350"},"comments":{"href":"https://api.github.com/repos/apache/apex-core/issues/350/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/apex-core/pulls/350/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/apex-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/apex-core/pulls/350/commits"},"statuses":{"href":"https://api.github.com/repos/apache/apex-core/statuses/c41cd38cce8c9772aa82c37acad0b6ebc4bec0e0"}}}}
{"actor":{"display_login":"sandeshh"}}