( engine *Engine, plan Plan, materialized materializedState, epoch uint64, commitSeq uint64, attemptID uint64, )
| 91 | } |
| 92 | |
| 93 | func newPreparedAttempt( |
| 94 | engine *Engine, |
| 95 | plan Plan, |
| 96 | materialized materializedState, |
| 97 | epoch uint64, |
| 98 | commitSeq uint64, |
| 99 | attemptID uint64, |
| 100 | ) PlanAttempt { |
| 101 | return PlanAttempt{ |
| 102 | state: &planAttemptState{ |
| 103 | engine: engine, |
| 104 | plan: plan, |
| 105 | materialized: materialized, |
| 106 | epoch: epoch, |
| 107 | commitSeq: commitSeq, |
| 108 | attemptID: attemptID, |
| 109 | reserved: true, |
| 110 | }, |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | func newNoopAttempt(plan Plan) PlanAttempt { |
| 115 | return PlanAttempt{ |
no outgoing calls
no test coverage detected
searching dependent graphs…