[ https://issues.apache.org/jira/browse/TEZ-2586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Zhang updated TEZ-2586: ---------------------------- Description: There's totally 2 steps for recovery restoreFromEvent & RecoveryTransition This ticket is to make the boundary clear between restoreFromEvent ) and RecoveryTransition * Step 1 should only restore the states of each entity without trigger any event. At this step, the state machine is not triggered to start. * Step 2 should only trigger the state machine transition of itself or send events to other entities (e.g. DAG send events to vertex and vertex send events to its downstream vertex) Besides that we need to reuse the the same code path between recovery and normal state machine transition. was: There's totally 2 steps for recovery. * restoreFromEvent * RecoveryTransition This ticket is to make the boundary clear between restoreFromEvent ) and RecoveryTransition * Step 1 should only restore the states of each entity without trigger any event. At this step, the state machine is not triggered to start. * Step 2 should only trigger the state machine transition of itself or send events to other entities (e.g. DAG send events to vertex and vertex send events to its downstream vertex) Besides that we need to reuse the the same code path between recovery and normal state machine transition. > Simplify the recovery process > ----------------------------- > > Key: TEZ-2586 > URL: https://issues.apache.org/jira/browse/TEZ-2586 > Project: Apache Tez > Issue Type: Sub-task > Reporter: Jeff Zhang > Assignee: Jeff Zhang > > There's totally 2 steps for recovery restoreFromEvent & RecoveryTransition > This ticket is to make the boundary clear between restoreFromEvent ) and > RecoveryTransition > * Step 1 should only restore the states of each entity without trigger any > event. At this step, the state machine is not triggered to start. > * Step 2 should only trigger the state machine transition of itself or send > events to other entities (e.g. DAG send events to vertex and vertex send > events > to its downstream vertex) > Besides that we need to reuse the the same code path between recovery and > normal state machine > transition. -- This message was sent by Atlassian JIRA (v6.3.4#6332)