|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface Engine.RecoveryHandler
Recovery allow to start the recovery process. It is built of three phases.
The first phase allows to take a snapshot of the master index. Once this is taken, no commit operations are effectively allowed on the index until the recovery phases are through.
The seconds phase takes a snapshot of the current transaction log.
The last phase returns the remaining transaction log. During this phase, no dirty operations are allowed on the index.
| Method Summary | |
|---|---|
void |
phase1(SnapshotIndexCommit snapshot)
|
void |
phase2(Translog.Snapshot snapshot)
|
void |
phase3(Translog.Snapshot snapshot)
|
| Method Detail |
|---|
void phase1(SnapshotIndexCommit snapshot)
throws ElasticSearchException
ElasticSearchException
void phase2(Translog.Snapshot snapshot)
throws ElasticSearchException
ElasticSearchException
void phase3(Translog.Snapshot snapshot)
throws ElasticSearchException
ElasticSearchException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||