Skip to content

Conversation

@uce
Copy link
Contributor

@uce uce commented Feb 27, 2017

  • Adds a checkpoint coordinator test for externalized checkpoints. This was covered only in unit tests for the involved checkpoint components like PendingCheckpoint etc. This would have caught the issue.
  • The fix is to not use a _metadata but a random checkpoint_metadata-:randomSuffix file for externalized checkpoints, because they are not unique per configured directory. Hopefully, we can get rid of this soon with @StephanEwen's refactorings.

This is based on top of #3411, which is already good to merge.

StephanEwen and others added 4 commits February 24, 2017 18:05
… strictly on FileSystems

That is the first step towards checkpoints that can be externalized to other stores as well,
like k/v stores and databases, if supported by the state backend.
…pointsTest

Problem: there were only unit tests for the checkpoint instances available
that don't test the behaviour of the checkpoint coordinator with respect
to externalized checkpoints.
@StephanEwen
Copy link
Contributor

Thanks, good and critical fix!
Looking at this...

@StephanEwen
Copy link
Contributor

Looks good, merging this...

StephanEwen pushed a commit to StephanEwen/flink that referenced this pull request Feb 28, 2017
…pointsTest

Problem: there were only unit tests for the checkpoint instances available
that don't test the behaviour of the checkpoint coordinator with respect
to externalized checkpoints.

This closes apache#3424
StephanEwen pushed a commit to StephanEwen/flink that referenced this pull request Feb 28, 2017
…pointsTest

Problem: there were only unit tests for the checkpoint instances available
that don't test the behaviour of the checkpoint coordinator with respect
to externalized checkpoints.

This closes apache#3424
StephanEwen pushed a commit to StephanEwen/flink that referenced this pull request Feb 28, 2017
…pointsTest

Problem: there were only unit tests for the checkpoint instances available
that don't test the behaviour of the checkpoint coordinator with respect
to externalized checkpoints.

This closes apache#3424
@asfgit asfgit closed this in c477d87 Feb 28, 2017
p16i pushed a commit to p16i/flink that referenced this pull request Apr 16, 2017
…pointsTest

Problem: there were only unit tests for the checkpoint instances available
that don't test the behaviour of the checkpoint coordinator with respect
to externalized checkpoints.

This closes apache#3424
@uce uce deleted the 5928-ext_chk_metadata branch July 4, 2017 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants