{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/18603","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/18603/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/18603/comments","events_url":"https://api.github.com/repos/apache/spark/issues/18603/events","html_url":"https://github.com/apache/spark/pull/18603","id":242203481,"number":18603,"title":"[SPARK-21370][SS] Add test for state reliability when one read-only state store aborts after read-write state store commits","user":{"login":"brkyvz","id":5243515,"avatar_url":"https://avatars2.githubusercontent.com/u/5243515?v=3","gravatar_id":"","url":"https://api.github.com/users/brkyvz","html_url":"https://github.com/brkyvz","followers_url":"https://api.github.com/users/brkyvz/followers","following_url":"https://api.github.com/users/brkyvz/following{/other_user}","gists_url":"https://api.github.com/users/brkyvz/gists{/gist_id}","starred_url":"https://api.github.com/users/brkyvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brkyvz/subscriptions","organizations_url":"https://api.github.com/users/brkyvz/orgs","repos_url":"https://api.github.com/users/brkyvz/repos","events_url":"https://api.github.com/users/brkyvz/events{/privacy}","received_events_url":"https://api.github.com/users/brkyvz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-11T22:29:56Z","updated_at":"2017-07-11T22:32:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/18603","html_url":"https://github.com/apache/spark/pull/18603","diff_url":"https://github.com/apache/spark/pull/18603.diff","patch_url":"https://github.com/apache/spark/pull/18603.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nDuring Streaming Aggregation, we have two StateStores per task, one used as read-only in\r\n`StateStoreRestoreExec`, and one read-write used in `StateStoreSaveExec`. `StateStore.abort`\r\nwill be called for these StateStores if they haven't committed their results. We need to\r\nmake sure that `abort` in read-only store after a `commit` in the read-write store doesn't\r\naccidentally lead to the deletion of state.\r\n\r\nThis PR adds a test for this condition.\r\n\r\n## How was this patch tested?\r\n\r\nThis PR adds a test."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/314591004","html_url":"https://github.com/apache/spark/pull/18603#issuecomment-314591004","issue_url":"https://api.github.com/repos/apache/spark/issues/18603","id":314591004,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars2.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2017-07-11T22:32:27Z","updated_at":"2017-07-11T22:32:27Z","body":"**[Test build #79543 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/79543/testReport)** for PR 18603 at commit [`4783b12`](https://github.com/apache/spark/commit/4783b124c365cde6a9398fc9278f8611aa4d7598)."}}
{"actor":{"display_login":"SparkQA"}}