Skip to content

Conversation

@brkyvz
Copy link
Contributor

@brkyvz brkyvz commented Jul 11, 2017

What changes were proposed in this pull request?

During Streaming Aggregation, we have two StateStores per task, one used as read-only in
StateStoreRestoreExec, and one read-write used in StateStoreSaveExec. StateStore.abort
will be called for these StateStores if they haven't committed their results. We need to
make sure that abort in read-only store after a commit in the read-write store doesn't
accidentally lead to the deletion of state.

This PR adds a test for this condition.

How was this patch tested?

This PR adds a test.

@tdas
Copy link
Contributor

tdas commented Jul 11, 2017

LGTM!

@SparkQA
Copy link

SparkQA commented Jul 12, 2017

Test build #79543 has finished for PR 18603 at commit 4783b12.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@asfgit asfgit closed this in e0af76a Jul 12, 2017
@brkyvz brkyvz deleted the ss-test branch February 3, 2019 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants