You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2018/08/23 20:14:28 UTC
[GitHub] yaoliclshlmch commented on issue #3004: Yaoli/fix stateful test
yaoliclshlmch commented on issue #3004: Yaoli/fix stateful test
URL: https://github.com/apache/incubator-heron/pull/3004#issuecomment-415556496
Because checkpoint rollback is triggered by intended instance failure at a given component when the second checkpoint control tuple arrives. The failed instances will be restarted then and an additional checkpoint will be made afterwards which will result in unexpected instance state info.
What happens to the instances which can triggered checkpoint rollback:
1. instance started
2. successfully make checkpoint 1
3. throw exception to trigger instance failure when making checkpoint 2
4. restart this instance and rollback to checkpoint 1
5. successfully make checkpoint 3
6. throw exception to trigger instance failure when making checkpoint 4
......
the expected results are the instance states in checkpoint 1, so only those info at the http server is expected.
At the instance level, checkpoints will be made periodically and cannot be stopped or otherwise controlled.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services